The Zendesk API is supported by a dashboard in the Admin Center. The API dashboard lets you do the following tasks:
- Enabling password or token access
- Creating and managing API tokens
- Creating and managing OAuth clients
- Tracking API activity against your rate limit
- Getting information about URL target failures
Only Zendesk Support admins can access the API dashboard.
For information on using the Zendesk API itself, see the following pages:
- REST API introduction on developer.zendesk.com
- Zendesk API Guide on help.zendesk.com
- Zendesk API community
Enabling password or token access
- In Admin Center, click
Apps and integrations in the sidebar, then select APIs > Zendesk API.
- In the Settings tab, enable password or token access.
Creating and managing API tokens
- In Admin Center, click
Apps and integrations in the sidebar, then select APIs > Zendesk API.
- Make sure the Settings tab is selected.
- To create a token, click the Plus (+) icon on the right side.
- To delete a token, click the token in the list, then click Delete on the right side.
More than one token can be active at the same time. Deleting a token deactivates it permanently.
For more information, see API tokens on developer.zendesk.com
Creating and managing OAuth clients
- In Admin Center, click
Apps and integrations in the sidebar, then select APIs > Zendesk API.
- Select the OAuth clients tab.
- Create a client as described in Registering your application with Zendesk.
Tracking API activity against your rate limit
You can compare the activity in the last 24 hours with the Core API against your rate limit.
To track API activity
- In Admin Center, click
Apps and integrations in the sidebar, then select APIs > Zendesk API.
- Click the Activity tab.
The following requests are excluded from activity:
- Help Center and Talk API requests
- Requests using session authentication, such as requests by Zendesk apps or client-side requests from JavaScript code in Help Center
- Anonymous requests requiring no authentication
The page shows activity in the past 24 hours. The chart covers requests over time, while the table provides a breakdown of total requests by client. The clients are identified by the authentication credentials used. The table lists the names – or identities – of API tokens, OAuth clients, or users for basic authentication.
The chart scales based on the amount of activity, which can hide the rate limit line. With enough activity in the example, a horizontal line representing the rate limit would appear at the 700-requests mark.
The horizontal hourly scale is set to your local time, with the right-most mark the most recent hour.
Peak requests is the highest number of requests in a single minute in the hour. Average request/min is the average number of requests per minute during the hour.
Getting information about URL target failures
If you're having trouble with a URL target, you can view the information returned by the third-party service or REST API that the target tried to access.
To view target failure information
- In Admin Center, click
Apps and integrations in the sidebar, then select APIs > Zendesk API.
- Click the Target Failures tab.
Click an item in the list to see more detailed information about the failure.
11 Comments
Hi Daniel.
The API Rate limit on the Zendesk Support Professional plan is 400 requests per minute - you can see the rate limits for different plan levels here:
Plan Rate Limits
@... - Is there any way to see larger time frames than just 24 hours? I'd like to see our API fire rate for the past 7 days.
Thanks!
If you'd like to see additional options for monitoring your API usage, please create a post in our Feedback - Platform: Apps & Integrations topic in the community forums, using this template so that our product team can better understand your use case. Thanks!
Is there an API a support app can use to check if the rate limit has been reached? I am not able to receive the 429 too many requests signal in my app, it appears in the console but the actual call being paused gets no feedback until the limit is up and it completes.
There's information about the current state of your rate limit in the API response headers – see Best practices for avoiding rate limiting
Hi Dave,
Thanks for that link, I see it demonstrates getting the headers via a curl, however using the following request can I receive these headers or error? I am not getting a 429 or any of this info in the response, but I might get it if I avoid using the client request?
You can receive these headers via zaf by adding in the
httpCompleteResponse
parameter.Hello
How can I know the API Rate usage by endpoint?
Also is the Request Limit calculated base on the Average? or Peak requests?
Thanks
For more information about API rate limits please refer to Usage limits. The normal rates will be based on calls per minute.
Hope this helps!
Hi,
Would it be possible to add the ability to monitor API activity beyond 24 hours? At the moment if you wanted to monitor stats like your peak API usage in an hour or a day, there's no real way to do this. This data is really useful for monitoring the effectiveness of add-ons like the "High Volume API", or it can allow you to notice trends around peak periods for API requests.
The API dashboard is not helpful at all in monitoring API usage. While it shows the peak RPM usage, it is limited to 24 hours. It also doesn't provide any information on usage for the individual endpoint rate limits being reached; as these are different from the 400/700/whatever is included with the various plans. I view this dashboard daily and don't see an peak usage but it's clear that a rate limit is still being reached and there is no way to identify which one, when it occurs and how often.
Zendesk needs to give us better metrics to monitor these.
Please sign in to leave a comment.