Skip to main content
A workspace can make 120 requests per minute, shared across all of its keys. Over the limit, requests return 429 rate_limited with a Retry-After header: the number of seconds to wait.

Retrying

  • On 429 or 503, wait for Retry-After seconds, then retry.
  • On 500, retry with a growing delay, such as 1, 2, 4 and 8 seconds, and add some randomness.
  • Do not retry other 4xx responses. The request needs to change first. The exception is a 409 conflict saying a request with your Idempotency-Key is still in progress: retry that one unchanged, with the same key.
  • Before retrying a POST, read Idempotency and safe retries.
The limit is a guard, not a guarantee: if our counter is unavailable, requests are let through uncounted rather than refused. Individual endpoints may apply further limits in future. Always honour Retry-After.

Waiting for a long-running operation

Some operations take minutes. The API starts them and returns 202 Accepted without waiting; the Location header is the URL to read for the result. While the operation is running, reading that URL returns a Retry-After header. Wait that many seconds before reading again. When a 200 response comes without the header, the operation has finished. An error response without it says nothing about the operation: handle the error first. A status field is open-ended: new values can appear. Treat a status you do not know as “still running” while Retry-After is present. At launch one operation works this way: an inbox placement test, which takes about 15 minutes.
Get sender_ids from GET /sender-schedules?channel=EMAIL. When the test has finished, summary holds the result. Webhooks are planned. Until then, polling with Retry-After is the way to wait.