ZITADEL Docs
APIsCore ResourcesV1Organization Objects

GetHumanPhone

Get User Phone (Human)

Deprecated: use user service v2 GetUserByID instead.

Get the phone number and the verification state of the number. The phone number is only for informational purposes and to send messages, not for Authentication (2FA).

GET
/users/{user_id}/phone

Path Parameters

user_id*string

Response Body

application/json

application/json

curl -X GET "https://loading/users/string/phone"
{
  "details": {
    "sequence": 0,
    "creationDate": "1s",
    "changeDate": "1s",
    "resourceOwner": "string"
  },
  "phone": {
    "phone": "string",
    "isPhoneVerified": true
  }
}
{
  "code": "not_found",
  "message": "string",
  "detail": {
    "type": "string",
    "value": "string",
    "debug": {}
  }
}

Was this page helpful?