list_users
Retrieve Zendesk users with an optional role filter. Suitable for building a full directory snapshot; for specific users, use search.
Instructions
List Zendesk users with optional role filter (end-user, agent, admin). For finding a user by email/name/organization/external_id, use search with type:user email:<email> — that's far cheaper than paginating the full directory. list_users is appropriate when you need the full directory feed (e.g. building a snapshot).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | Page number for pagination | |
| per_page | No | Number of users per page (max 100) | |
| role | No | Filter users by role |