Rate limits
Limits are enforced per endpoint group, per token. Contacts traffic and commerce traffic draw on separate budgets, so a busy import cannot starve your webhook handler.
Headers
Every limited response carries the current state of your budget:
RateLimit-Limit: 100
RateLimit-Remaining: 87
RateLimit-Reset: 4| Header | Meaning |
|---|---|
RateLimit-Limit | The burst size for this group and action. |
RateLimit-Remaining | Requests you can still make right now. |
RateLimit-Reset | Seconds until the budget is fully refilled. |
When you exceed it:
HTTP/1.1 429 Too Many Requests
Retry-After: 2{
"error": {
"code": "rate_limit_exceeded",
"message": "Rate limit exceeded — slow down",
"details": { "group": "contacts" }
}
}Honour Retry-After. It is a whole number of seconds and it is never a guess.
How the budget works
Two numbers per group: a sustained rate (requests per second) and a burst (how many you may fire at once). The budget refills continuously — after a burst you are back to full in RateLimit-Reset seconds, and you never wait for a fixed window to tick over.
Actions are classed, and each class gets its own numbers:
| Class | Applies to | Why |
|---|---|---|
| read | GET / HEAD on most groups | Cheap. |
| write | Everything else on most groups | Costs durable work. |
| heavy | The media and messaging groups, every method | Uploads and outbound sends are expensive per call. |
| ai | The ai and mcp groups | Every call spends model budget. |
Your plan picks the numbers:
| Plan tier | read | write | heavy | ai |
|---|---|---|---|---|
| Small | 10/s, burst 50 | 5/s, burst 20 | 2/s, burst 10 | 1/s, burst 5 |
| Medium | 25/s, burst 100 | 10/s, burst 50 | 5/s, burst 20 | 3/s, burst 15 |
| Large | 75/s, burst 300 | 30/s, burst 150 | 15/s, burst 60 | 10/s, burst 40 |
Test keys are fixed at 1 request/second, burst 10, on every plan. That is deliberate: test credentials are for correctness, not throughput.
Need more?
Limits can be raised per organization or per key. If a legitimate workload does not fit the table above, talk to us before you engineer around it — a raised ceiling beats a sleep loop.
Concurrency cap
On top of the rate, ai and heavy requests have a cap on how many may be in flight at once for your organization (5 and 10 by default). Exceeding it returns 429 with:
{
"error": {
"code": "concurrency_limit_exceeded",
"message": "Too many concurrent ai requests"
}
}The fix is fewer parallel workers, not faster retries.
Rate limit vs quota
Both are 429. They are not the same problem:
rate_limit_exceeded | quota_exceeded | |
|---|---|---|
| Means | "Slow down" | "Buy more" |
| Refills | Continuously, seconds | Monthly |
| Retry helps | Yes, after Retry-After | No, not before details.period_end |
Branch on code. See Errors.
Handling limits well
- Retry on
429,500and503with exponential backoff and jitter — but respectRetry-Afterwhen it is present; it beats your backoff curve. - Never retry
quota_exceededin the same loop. - Pair retries with an
Idempotency-Keyso a retried write cannot duplicate. - Spread bulk work. Importing 10,000 contacts at your burst ceiling is slower overall than a steady stream at the sustained rate, because you spend the difference in
429s. - Watch
RateLimit-Remainingand slow down before you hit zero, rather than after.