API rate limits and errors
Short answer
Each API key can make 120 requests a minute. Rate-limit headers show what is left, and going over returns 429 with a Retry-After header.
Updated · 1 min read
Limits are per key, over a one-minute window. The API keys tab shows the limit next to your active key count.
Rate-limit headers
| Header | Meaning |
|---|---|
| X-RateLimit-Limit | Requests allowed per minute (120) |
| X-RateLimit-Remaining | Requests left in this minute |
| X-RateLimit-Reset | When the window resets, in Unix seconds |
| Retry-After | Sent with a 429: seconds to wait before trying again |
Staying under the limit
- Use
limit=100on lists to fetch fewer, larger pages. - Sync with
updated_sincerather than fetching everything each time. - Use webhooks to hear about changes instead of polling.
- Give each integration its own key, since each key has its own limit.
Common errors
| Status | Code | What to do |
|---|---|---|
| 403 | insufficient_scope | The key lacks the scope for that call. Create a key with the right scopes |
| 403 | module_disabled | That module is switched off for your company |
| 422 | idempotency_conflict | An Idempotency-Key was reused with a different body |
| 429 | Over the rate limit. Wait for Retry-After |
The full list of error codes is on the developer pages. If you need a higher limit, get in touch.
Related articles
Still stuck?
Tell us what you were trying to do and which screen you were on, and we’ll walk you through it. Email hello@thebusinessapp.co.uk or contact support.