API Rate Limits
Rate-limited operations allow a fixed number of requests per minute per client, with a small burst on top. Each such operation states its limit on its 429 response in the API reference, so that is the place to check a specific call.
Limits by operation class
| Class | Per client, per minute | Burst | Operations |
|---|---|---|---|
| Standard reads | 60 | 75 | Dimension registry reads, document list summaries, dimension default lookups |
| Standard writes | 30 | 40 | Partner company and user provisioning, signed-in email confirmation codes |
| Reports | 12 | 15 | Financial reports, dimension worklist summary and dimension income statement |
| Heavy writes | 6 | 8 | Document updates, state transitions, comments, attribute and status settings, dimension corrections |
| Money movement | 20 | 25 | Recording or deleting a payment, applying credits, bulk payments |
| Token and discovery | 5 per source IP | 6 | Token exchange and validation, client registration, OAuth discovery, email confirmation codes |
For authenticated calls, a client is the user or App Connect client behind the access token, within one company: two credentials do not share a limit, and one credential does not get more by calling from several IP addresses. The token exchange runs before you hold a token, so it is counted per source IP; cache the access token for its expires_in instead of exchanging per request. Operations without a documented 429 have no per-operation limit today. That can change, so handle 429 on every call.
What a limited request returns
- 429 Too Many Requests: you exceeded your own per-client limit. The response has no body and no
Retry-Afterheader. - 503 Service Unavailable with no body: the operation's shared limit across all clients was reached. It is not an outage of your account; retry with backoff.
How long to wait
The limiter is a token bucket that refills at a steady rate, and rejected requests do not use it up. After a 429, waiting 60 / limit seconds is enough for your next request:
| Limit per minute | Wait after a 429 |
|---|---|
| 60 | 1 second |
| 30 | 2 seconds |
| 20 | 3 seconds |
| 12 | 5 seconds |
| 6 | 10 seconds |
| 5 | 12 seconds |
For a 503, use exponential backoff with jitter (for example 1, 2, 4, 8 seconds), because its recovery depends on other clients.
Reduce the calls you need
- Record many full payments in one call with
POST /v1/invoices/payments/bulkwhen they share a payment mode, date and deposit account. - Move many documents at once with the bulk state transitions, for example
PUT /v1/invoices/state-transition/bulk. - Use
page_sizeup to 200 to read a list in fewer pages (see Pagination). - After a
429, resend a single payment (POST /v1/invoices/{id}/paymentorPOST /v1/bills/{id}/payment) with the sameIdempotency-Keyand an identical body; you get back the payment already recorded instead of a second one. The bulk payments call takes noIdempotency-Key, but resending it is safe: each invoice is paid only up to its remaining balance, and invoices that are already paid are skipped.