User Identities
List Identities
Returns a list of identities for the given user.
Use the first endpoint if authenticating as an agent. Use the second if authenticating as an end user. End users can only list email and phone number identities.
Pagination
- Cursor pagination (recommended)
- Offset pagination
See Pagination.
Returns a maximum of 100 records per page for cursor pagination.
Allowed For
- Agents
- Verified end users
get/api/v2/users/{user_id}/identities
Response
Success response
Example response
{
"identities": [
{
"created_at": "2011-07-20T22:55:29Z",
"deliverable_state": "deliverable",
"id": 35436,
"primary": true,
"type": "email",
"updated_at": "2011-07-20T22:55:29Z",
"url": "https://company.zendesk.com/api/v2/users/135/identities/35436.json",
"user_id": 135,
"value": "someone@example.com",
"verification_method": "full",
"verified": true,
"verified_at": "2011-07-20T22:55:29Z"
}
]
}