Using the API dashboard

Return to top

8 Comments

  • Dave Dyson
    Zendesk Community Manager

    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

    0
  • Rudolph Beaton

    Dave Dyson - 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!

    0
  • Dave Dyson
    Zendesk Community Manager
    Hi Rudolph, I don't think there's a way to monitor your rate limit beyond the most recent 24 hour timeframe. We do have some best-practices information on how to avoid running up against your rate limit, in case that helps: Best practices for avoiding rate limiting
     
    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!
    0
  • dave.passaro

    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. 

    0
  • Dave Dyson
    Zendesk Community Manager
    Hi Dave,
     
    There's information about the current state of your rate limit in the API response headers – see Best practices for avoiding rate limiting
    0
  • dave.passaro

    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?  

    options = {
    url:"/api/v2/tickets/" + this.ticketId + ".json",
    type:"PUT",
    contentType:"application/json",
    data:'',
    dataType:"json",
    };
    client.request(options); 
    0
  • Eric Nelson
    Zendesk Developer Advocacy
    Hey Dave,
     
    You can receive these headers via zaf by adding in the httpCompleteResponse parameter. 
     
            options = {
    url: "/api/v2/tickets/" + this.ticketId,
    httpCompleteResponse: true,
    type: "PUT",
    contentType: "application/json",
    data: JSON.stringify({
    "ticket": {
    "comment": {
    "body": "Thanks for choosing Acme Jet Motors.",
    "public": true
    }
    }
    }),
    dataType: "json",
    };
    0
  • Alexandre Dias

    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

     
    0

Please sign in to leave a comment.

Powered by Zendesk