Phi.Bui | 2020-07-07 19:39:48 UTC | #1
Hello,
I am attemping to make API call to get the estimated wait time from the following URI: GET /api/v2/routing/queues/{queueId}/mediatypes/{mediaType}/estimatedwaittime
I have about 45 queues on the account, and to average up all the queues, I need to make 45 calls to this endpoint at a time.
I am wondering how often can I make this call without hitting the rate limit?
Thanks for the support! Phi
anon11147534 | 2020-07-08 08:26:06 UTC | #2
Hi Phi,
Rate limits are different for each endpoint and is dependent on the micro-service processing the request, there is also a global Platform API rate limit.. The best approach here is to sleep for a few milliseconds between requests to avoid the rate limit and making use of the retry-after value if a 429 code is received.
You an find more information on API rate limiting in our page on rate limiting and API tips and tricks.
tim.smith | 2020-07-08 18:39:58 UTC | #3
Additionally, you can request new features, such as bulk API resources, and share your use case at https://purecloud.ideas.aha.io/ideas.
system | 2020-08-07 18:47:03 UTC | #4
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
This post was migrated from the old Developer Forum.
ref: 8219