Start Free Trial

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.

StatusCodes (msg)What to do
200Success.
401NOT_AUTHORIZEDMissing, invalid, revoked or expired key.
403FORBIDDEN, SANDBOX_ONLYA read key called a write endpoint, an id belongs to another workspace, or the call exists only in a sandbox.
409OVERLAP_CONFLICT, EXTERNAL_ID_CONFLICT, ALREADY_SENT, CONTACT_LOCKED, WEBHOOK_LIMIT_REACHED, SANDBOX_LIMIT_REACHEDA real conflict with the state of the data. Do not retry unchanged.
422VALIDATION_ERROR, GUEST_CONTACT_REQUIRED, WEBHOOK_URL_NOT_ALLOWED, SANDBOX_RECIPIENT_NOT_ALLOWEDFix the request; the note says what. A message names the field, never the value you sent.
429RATE_LIMIT_EXCEEDEDPer-key hourly ceiling (600 by default; ask us to raise it). Retry later.

Idempotency and retries

  • upsertReservation is idempotent on your externalId, and each guest on your externalGuestId: repeating a call changes nothing and creates nothing new, however quickly it comes.
  • A 422 or 409 will fail the same way again: fix the cause. A 429 or a network error is safe to retry.
  • A reservation's externalId is 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.