Errors and limits
Best Guest API v1
Every response is { "result": true, "data": ..., "errors": [] } or { "result": false, "data": null, "errors": [{ "code": 409, "msg": "OVERLAP_CONFLICT", "note": "..." }] }, with a real HTTP status.
| Status | Codes (msg) | What to do |
|---|---|---|
| 200 | Success. | |
| 401 | NOT_AUTHORIZED | Missing, invalid, revoked or expired key. |
| 403 | FORBIDDEN, SANDBOX_ONLY | A read key called a write endpoint, an id belongs to another workspace, or the call exists only in a sandbox. |
| 409 | OVERLAP_CONFLICT, EXTERNAL_ID_CONFLICT, ALREADY_SENT, CONTACT_LOCKED, WEBHOOK_LIMIT_REACHED, SANDBOX_LIMIT_REACHED | A real conflict with the state of the data. Do not retry unchanged. |
| 422 | VALIDATION_ERROR, GUEST_CONTACT_REQUIRED, WEBHOOK_URL_NOT_ALLOWED, SANDBOX_RECIPIENT_NOT_ALLOWED | Fix the request; the note says what. A message names the field, never the value you sent. |
| 429 | RATE_LIMIT_EXCEEDED | Per-key hourly ceiling (600 by default; ask us to raise it). Retry later. |
Idempotency and retries
upsertReservationis idempotent on yourexternalId, and each guest on yourexternalGuestId: repeating a call changes nothing and creates nothing new, however quickly it comes.- A
422or409will fail the same way again: fix the cause. A429or a network error is safe to retry. - A reservation's
externalIdis free again once it was cancelled.
Chekin-compatible API
Errors have Chekin's shape: {"code": "1000", "message": "Validation Failed", "status_code": 400, "errors": [{"message": "..."}]}. Chekin has no 409, so a Best Guest conflict is a 400 whose message starts with its code (OVERLAP_CONFLICT: ...). A missing or expired token is 401 (code 4002), a read key writing or an unsupported operation 403, an unknown resource or an endpoint Best Guest does not serve 404.
Limits are per minute and per key: reservations 300, housings and rooms 200, creating a guest 50, webhooks 100. Over the limit the answer is 429 with a Retry-After header (seconds) and {"detail": "Request was throttled. Expected available in N seconds.", "errors": []}. A throttled request was not processed, so retrying it is always safe.