Skip to Content
ZITADEL Docs
APIsCore ResourcesV2User

Verify an invite code for a user

Verify the invite code of a user previously issued. This will set their email to a verified state and allow the user to set up their first authentication method (password, passkeys, IdP) depending on the organization's available methods.

POST
/v2/users/{user_id}/invite_code/verify

Path Parameters

user_id*user_id

Request Body

application/json
  1. body
verificationCode*verification_code

Response Body

Success

application/json
  1. response
details?
Example Request
curl -X POST 'https://example.com/v2/users/string/invite_code/verify' \  -H 'Content-Type: application/json' \  -d '{  "verificationCode": "string"}'
Example Response200
{  "details": {    "sequence": 0,    "changeDate": "2023-01-15T01:30:15.01Z",    "resourceOwner": "string",    "creationDate": "2023-01-15T01:30:15.01Z"  }}

Was this page helpful?