ZITADEL Docs
APIsCore ResourcesV2User

VerifyInviteCode

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

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": "1s",
    "resourceOwner": "string",
    "creationDate": "1s"
  }
}
{
  "code": "not_found",
  "message": "string",
  "detail": {
    "type": "string",
    "value": "string",
    "debug": {}
  }
}

Was this page helpful?