Table of Contents:
Table of Contents | ||
---|---|---|
|
...
The default limit is 300 API calls every 60 seconds (i.e., 300 API calls per minute). This limit can be increased (even by a lot), based on your Ongage package. Please consult Ongage support for more information on this matter. The API limit for you account, you can find in your Account → Profile Page, under the 'Account LimitsUsage' section of the page see: 'Maximum number of API calls allowed per minute'
If you issue more API calls beyond your account limit, you will get a denied response with HTTP 429 error (see below).
This is done in order to ensure stable and continuous API service.
Therefore in your code you should have a built-in retry and back-off mechanism, in order to manage that rate, so even if you breach the limit and get denied, you can resend it according to the allowed rate.
Suggested exponential back-off: 1 minute, 2 minutes, 4 minutes, 8 minutes, 16 minutes.
Moreover, you can have no more than 10 API calls running in parallel at any given time.
...
Code Block |
---|
{ "metadata": { "error": true }, "payload": { "code": 429, "errors": [], "message": "Calls per minute exceeded" } } |
How to Handle HTTP 5xx Error Codes
...
For a list of all HTTP Error Codes see the Appendix at the bottom of this API Guide
Appendix
API Exception response sample
...