1. Help Center Home
  2. API
  3. Using the API
  4. Configuration and Rate Limits

Configuration and Rate Limits

Overview

This section covers a few technical basics related to the CIMcloud API.

  • The body of all requests are in a JSON format
  • For POSTs – either the primary key or user key can be used to identify a record to update
    • If both are provided, the primary key wins in priority
  • Rate Limits
    • Default Client Rate Limit: two calls per second or a hundred calls per fifteen minutes.
    • All POSTs and PUTs are limited to ten records per import; however, if the number of records on a POST or PUT exceed ten, then they will be added to an asynchronous queue to be processed.
    • All GETS retrieve a max of fifty records per response, pagination is supported to retrieve more results, as well as search strings to filter results.
  • The API queue can make intelligent decisions if the detail records are added before the reference to a header record exist (i.e. if a request to import order detail lines is made before the order header exists, the queue will attempt to reimport the detail lines after the header has been created).

Rate Limit HTTP Response Headers

The following response headers provide feedback on the API’s rate limiting for each HTTP request:

  1. X-RateLimit-Limit

    1. Default 100

  2. X-RateLimit-Remaining

    1. Decrements for each GET/POST if within the reset time

  3. X-RateLimit-Reset

    1. Number of seconds remaining before the rate limit is reset every 15 minutes

Was this article helpful

Related Articles

Subscribe to receive email updates of what's new in the CIMcloud Help Center.