Question

Is there a user id that is not the email address of the user?

Answer

In Zendesk Support, users have two types of identifiers (IDs). These IDs are not related to any email address: the user ID and the user external_id.

User ID

The user id appears in the user's profile URL:

https://yoursubdomain.zendesk.com/agent/users/{user_id}/assigned_tickets

You can also get the user id through the Users API:

https://yoursubdomain.zendesk.com/api/v2/users/{user_id}.json
"id": 1987389842

External ID

The external_id is a unique identifier from another system. It lets you map Zendesk Support to third-party integrations. Like the id, this value is available through the API, and it is null by default.

Use IDs

Use IDs in Zendesk webhooks and triggers, for example {{user.id}} and {{user.external_id}}. 

For reference, see Placeholder reference for business rules.

Powered by Zendesk