I've been noticing with my app that I've been getting quite a few "Request Rate Exceeded" errors while trying to authenticate. In looking into this, I see that the limit is set to 5 Auth Requests per 60 seconds and then it goes on to say "The above rate limits for your application are set per user (RingCentral extension)."
This limitation is perfectly fine with me if that's how it works...but it doesn't. We have a RingCentral account with 20 users in it. Each user has their own extension and direct number. The app attempts to authenticate as each user to get status updates on faxes. It appears that when the app gets to the 6th user it fails as we've already reached the limit by authenticating with the first 5 users in this account. I really need this fixed so that each user has the ability to authenticate without affecting the limits of other users. I've already e-mailed the developer support team but no one ever seems to respond when I send e-mails there.
https://developer.ringcentral.com/api-docs/latest/index.html
If you are pulling the list of extensions (/restapi/v1.0/account/~/extension) using the request I provided above (which filters for enabled FaxUser extensions in your account), you will have the EXTENSION_ID although the API returns the records with the property named "id" instead of "extension_id", the "extension" is the number (maximum of 5 digits in length) and is visible in the data returned in this same request, but it should be apparent when you look at it how to identify them uniquely.
Does this (and my previous response) help answer your question?
If yes, there is a better approach to solve this problem. Here are the steps to obtain fax report data for multiple users from a server-side application:
1. Use RingCentral Admin user credentials to authenticate with our API and obtain an access_token (this allows you to fetch data for all users in the account)
POST /restapi/oauth/token
Headers:
- Accept: application/json
- Authorization: Basic <YOUR_BASE64_ENCODED_API_KEYS>
- Content-Type: application/x-www-form-urlencoded
- Host: platform[.devtest].ringcentral.com
2. Either cache the list of RingCentral extensions/users you know you want to capture this information, or make an API request to fetch the list of extensions in the account which are fax-enabled and enabled user extensions.
GET /restapi/v1.0/account/~/extension?status=Enabled&type=FaxUser
Headers:
- Accept: application/json
- Authorization: Bearer <YOUR_ACCESS_TOKEN>
- Content-Type: application/json
- Host: platform[.devtest].ringcentral.com
GET /restapi/v1.0/account/~/extension/EXTENSION_ID/message-store?dateFrom=<ISO_8601_FORMATTED_FROM_DATE>&dateTo=<ISO_8601_FORMATTED_TO_DATE>&messageType=Fax
Headers:
- Accept: application/json
- Authorization: Bearer <YOUR_ACCESS_TOKEN>
- Content-Type: application/json
- Host: platform[.devtest].ringcentral.com
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