Skip to main content

Request formats

The API supports only JSON requests. You must specify the format using the Content-Type header.

Idempotent requests

The API supports idempotency for POST requests to versioned endpoints, such as /2025-09/contacts. OAuth 2 endpoints and PATCH and DELETE requests ignore the Idempotency-Key header. To make an idempotent POST request, provide an additional Idempotency-Key: <key> header. The key should be a unique value — a generated UUID is a good choice.

How it works

When a request with a new idempotency key succeeds, the API stores its response for 24 hours. If you send the same key again within that period, the API returns the stored response, including its original request_id, without processing the request again. The API doesn’t store failed responses, so you can retry a failed request with the same key. If you send the same key while the first request is still being processed, the API returns 409 Conflict with the code idempotency_conflict. Wait for the first request to finish, then retry with the same key. Keys are scoped to your operator, aren’t case-sensitive, and ignore leading and trailing whitespace. The API doesn’t compare the request body or path, so a key reused for a different request returns the first request’s response. Use a new key for each request. After 24 hours, the stored response expires, and the next request with that key is processed as new.

Rate limiting

The API uses rate limiting to ensure fair usage and maintain performance. The default rate limit is:
  • 10 requests per second
  • 60 requests per minute
Limits apply per operator, not per access token or application. All integrations accessing the same operator share its quota; different operators have separate quotas. These limits may vary based on the operator’s subscription plan or specific agreements with Stora.

Handling rate limits

If you exceed the rate limit, the API responds with a 429 Too Many Requests status code. The response includes headers with your current rate limit status: The error code is too_many_requests.