News & Announcements User Community Developer Community

Welcome to the RingCentral Community

Please note the community is currently under maintenance and is read-only.

Search
Make sure to review our Terms of Use and Community Guidelines.
  Please note the community is currently under maintenance and is read-only.
Home » Developers
Is there a rate limit on quickly I can make a request after receiving a webhook notification?
Tags: rest api
Jan 29, 2020 at 9:13am   •   2 replies  •  0 likes
Adam Martinez

I have an app that receives webhook notifications. Depending on the nature of the notification, it then calls the call-sync or message-sync. However, if I make that request too quickly after receiving the notification I get a "request rate exceeded" message.

The request happens during a scheduled event. It checks to see if any users need syncing and then syncs them.

I can control the scheduled event. If I purposely make it wait a few seconds after receiving the notification. It works every time. If I allow it to be called immediately after the notification I get the error message every time.


Is this supposed to be working this way? I can't find any documentation about it.


2 Answers
answered on Jan 30, 2020 at 10:41am  

API rate limit is actually necessary for security purposes protecting the API from external attacks and improving API performance.

If you want to change the existing rate limit of RingCentral API, you can check the rate limit plan and discuss with backend support team to customize it for you.

There are different ways to tackle rate limit of API. One of the way is to implement "Delay" mechanism that hand the API call and wait for given interval of time before making next call.

You can also use the response headers ([‘X-Rate-Limit-Limit’] ) to confirm the current rate limit and monitor the number of requests remaining in the current API call.

Other ways are to reduce the number of API call. Other best practice is use to catch the response of API call with frequently used data.


 0
answered on Jan 30, 2020 at 8:05am  

Read this blog to see how to detect and prevent exceeding the rate limit. Let me know if you need help with other SDKs (or programming languages) than the one highlighted in the blog.


 0



A new Community is coming to RingCentral!

Posts are currently read-only as we transition into our new platform.

We thank you for your patience
during this downtime.

Try Workflow Builder

Did you know you can easily automate tasks like responding to SMS, team messages, and more? Plus it's included with RingCentral Video and RingEX plans!

Try RingCentral Workflow Builder

PRODUCTS
RingEX
Message
Video
Phone
OPEN ECOSYSTEM
Developer Platform
APIs
Integrated Apps
App Gallery
Developer support
Games and rewards

RESOURCES
Resource center
Blog
Product Releases
Accessibility
QUICK LINKS
App Download
RingCentral App login
Admin Portal Login
Contact Sales
© 1999-2024 RingCentral, Inc. All rights reserved. Legal Privacy Notice Site Map Contact Us