What is the rate limit on NotificationsApi?

I'm getting the following response to my NotificationsApi calls very quickly on start of business.

{"message":"Rate limit exceeded the maximum. Retry the request in [59] seconds","code":"too.many.requests.retry.after","status":429}

We make a call to the notification api on every log in to my customer website, and I'm wondering what the rate limit is on requests and what the time interval is for determining a rate excess? Thank you!

I'm using the Java client library and making this call:

com.mypurecloud.sdk.v2.api.NotificationsApi.getNotificationsChannelSubscriptions

Thank you!

Colton Young
Ohio Mutual Insurance Group

Hi Colton,

You are running into our platform API rate limit. We only allow 300 requests per minute on a single OAuth Client token. Once you hit that limit you get a 429 and you have to wait the amount of time in seconds in the Retry-After call header returned on the call before using that OAuth Client token for any other API calls.

Here are a couple of resources with more information:

Working with 429
Platform Rate Limits
DevDrop Video on Rate Limits

I know we are planning on chatting next week, so if you have any questions or concerns. Please let me know.

Thanks,
John Carnell
Manager, Developer Engagement

Thanks John for your response! Since we have the single OAuth client and aren't using the code authorization flow, it seems like out only option is to find ways to be more efficient with our api calls.
Thanks again!

Colton

This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.