ZITADEL Docs
APIsCore ResourcesV2User

Verify the phone number

Verify the phone number with the generated code.

POST
/v2/users/{user_id}/phone/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/phone/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?