Zendesk API for fetching License Details.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-22-2024 03:06 AM
Looking for an API of Zendesk for the integration purpose to fetch details regarding the license of all the users.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-14-2025 09:45 PM
You can use the Users API to fetch details about all users, including their roles, which correspond to license types like agents or admins. The API endpoint GET /api/v2/users returns user data with a role field indicating whether a user is an end user, agent, or administrator.
You can also filter users by role using query parameters, for example, ?role=agent to get only agents.
Here’s a simple example of how to fetch users with their roles:
Replace {subdomain} and {access_token} with your Zendesk subdomain and API token.