Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Table of Contents:

Table of Contents
minLevel2

...

  1. 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'

    image-20250107-122148.pngImage Added
    1. If you issue more API calls beyond your account limit, you will get a denied response with HTTP 429 error (see below).

    2. This is done in order to ensure stable and continuous API service.

    3. 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.

    4. Suggested exponential back-off: 1 minute, 2 minutes, 4 minutes, 8 minutes, 16 minutes.

  2. 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

...

(info) For a list of all HTTP Error Codes see the Appendix at the bottom of this API Guide

Appendix

API Exception response sample 

...