Errors and limits
Error format
Every failed response has the same body:
{ "message": "Another appointment overlaps this slot", "code": "SLOT_CONFLICT" }Branch on code; message is for people and may change. A malformed body or query gets 400 VALIDATION_ERROR with an issues list naming the bad fields.
| Status | Meaning |
|---|---|
| 400 | Bad request |
| 401 | Key invalid, revoked or expired (PARTNER_KEY_INVALID) |
| 403 | Role or scope not enough, or the record isn't yours |
| 404 | No such record |
| 409 | The record's state doesn't allow it (SLOT_CONFLICT, ESCROW_EXISTS…) |
| 422 | Area not served (SERVICE_AREA_NOT_COVERED…) |
| 429 | Rate limit hit (RATE_LIMITED) |
| 5xx | A problem on our side; retry shortly |
The codes each endpoint can return are listed under it in the API reference.
Rate limits
120 requests per minute per key (a key may carry its own quota). Every response tells you where you stand:
X-RateLimit-Limit— total allowanceX-RateLimit-Remaining— what's leftX-RateLimit-Reset— seconds until it refills
Beyond it you get 429 with Retry-After; wait that many seconds and retry.
Bulk write requests on the seller endpoints are also limited to 120 per 15 minutes per IP: Seller limits.
Is it safe to retry?
Yes. Resending a request after a network error never creates a duplicate: a second booking for the same slot gets 409 SLOT_CONFLICT, a second payment for the same job 409 ESCROW_EXISTS (with the existing payment in the body).