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*string

Request Body

application/json

verificationCode*string
[key: string]?never

Response Body

application/json

curl -X POST "https://loading/v2/users/string/invite_code/verify" \  -H "Content-Type: application/json" \  -d '{    "verificationCode": "string"  }'
{
  "details": {
    "sequence": 0,
    "changeDate": "2023-01-15T01:30:15.01Z",
    "resourceOwner": "string",
    "creationDate": "2023-01-15T01:30:15.01Z"
  }
}

Was this page helpful?