Start Free Trial

Reference: Best Guest API v1

For channel managers, PMSes and CRMs. A host creates a key in the Best Guest admin app (Settings > API Access) and gives it to you; send it as `Authorization: bgk_...` (`Bearer bgk_...` is accepted too). A key belongs to one workspace and can only reach this API.

Generated from the code that serves the API: download the OpenAPI 3.1 file.

Account

GET /v1/getAccountStatus

Billing/subscription status for the workspace · read key

Billing/subscription status for the workspace.

Answers

  • 200 Success. The answer is in `data`.
  • 401 Missing, invalid, revoked or expired key.
  • 403 FORBIDDEN: a read key called a write endpoint, or an id belongs to another workspace.
  • 422 VALIDATION_ERROR, GUEST_CONTACT_REQUIRED, WEBHOOK_URL_NOT_ALLOWED or SANDBOX_RECIPIENT_NOT_ALLOWED: fix the request.
  • 429 RATE_LIMIT_EXCEEDED: the per-key hourly ceiling (600 by default).

GET /v1/ping

Confirms the credential is valid and returns which workspace/vendor/scope it resolves to · read key

Confirms the credential is valid and returns which workspace/vendor/scope it resolves to.

Answers

  • 200 Success. The answer is in `data`.
  • 401 Missing, invalid, revoked or expired key.
  • 403 FORBIDDEN: a read key called a write endpoint, or an id belongs to another workspace.
  • 422 VALIDATION_ERROR, GUEST_CONTACT_REQUIRED, WEBHOOK_URL_NOT_ALLOWED or SANDBOX_RECIPIENT_NOT_ALLOWED: fix the request.
  • 429 RATE_LIMIT_EXCEEDED: the per-key hourly ceiling (600 by default).

Properties

GET /v1/getProperties

List the workspace's accommodations and their listings (the ids needed to submit a reservation) · read key

List the workspace's accommodations and their listings (the ids needed to submit a reservation).

Answers

  • 200 Success. The answer is in `data`.
  • 401 Missing, invalid, revoked or expired key.
  • 403 FORBIDDEN: a read key called a write endpoint, or an id belongs to another workspace.
  • 422 VALIDATION_ERROR, GUEST_CONTACT_REQUIRED, WEBHOOK_URL_NOT_ALLOWED or SANDBOX_RECIPIENT_NOT_ALLOWED: fix the request.
  • 429 RATE_LIMIT_EXCEEDED: the per-key hourly ceiling (600 by default).

Reservations

POST /v1/cancelReservation

Cancel (soft-delete) a reservation · write key

Cancel (soft-delete) a reservation. Refuses with ALREADY_SENT once it has been submitted for police reporting - that step is not reversible via the API.

Request body (JSON)

FieldTypeRequiredDescription
reservationIdintegerno
externalIdstringno

Answers

  • 200 Success. The answer is in `data`.
  • 401 Missing, invalid, revoked or expired key.
  • 403 FORBIDDEN: a read key called a write endpoint, or an id belongs to another workspace.
  • 409 A real conflict: OVERLAP_CONFLICT, EXTERNAL_ID_CONFLICT, ALREADY_SENT, CONTACT_LOCKED, SANDBOX_LIMIT_REACHED, WEBHOOK_LIMIT_REACHED.
  • 422 VALIDATION_ERROR, GUEST_CONTACT_REQUIRED, WEBHOOK_URL_NOT_ALLOWED or SANDBOX_RECIPIENT_NOT_ALLOWED: fix the request.
  • 429 RATE_LIMIT_EXCEEDED: the per-key hourly ceiling (600 by default).

GET /v1/getMulticalendar

Property/listing roster + reservations + iCal blocks for one date window, in one round trip - the efficient way to poll for changes incrementally (the API has no updatedSince filter) · read key

Property/listing roster + reservations + iCal blocks for one date window, in one round trip - the efficient way to poll for changes incrementally (the API has no updatedSince filter).

Parameters

NameInTypeRequiredDescription
dateFromquerystringyesWindow start YYYY-MM-DD (inclusive)
dateToquerystringyesWindow end YYYY-MM-DD (exclusive)
accommodationIdqueryintegernoId or array of ids; omitted = every accommodation in the workspace
includeIcalquerystringno1 (default) to include imported iCal blocks alongside real reservations

Answers

  • 200 Success. The answer is in `data`.
  • 401 Missing, invalid, revoked or expired key.
  • 403 FORBIDDEN: a read key called a write endpoint, or an id belongs to another workspace.
  • 422 VALIDATION_ERROR, GUEST_CONTACT_REQUIRED, WEBHOOK_URL_NOT_ALLOWED or SANDBOX_RECIPIENT_NOT_ALLOWED: fix the request.
  • 429 RATE_LIMIT_EXCEEDED: the per-key hourly ceiling (600 by default).

GET /v1/getReservation

Reservation detail plus compliance status: check-in form completion, close blockers, police-reporting status, local-fee status, and the guest check-in link · read key

Reservation detail plus compliance status: check-in form completion, close blockers, police-reporting status, local-fee status, and the guest check-in link. The response carries other fields beyond these too, but only this documented set is covered by the v1 stability promise - see docs/partner-api-v1.md.

Parameters

NameInTypeRequiredDescription
reservationIdqueryintegernoBest Guest's internal reservation id. Exactly one of reservationId/externalId is required.
externalIdquerystringnoThe id you supplied when creating the reservation via upsertReservation. Exactly one of reservationId/externalId is required.

Answers

  • 200 Success. The answer is in `data`.
  • 401 Missing, invalid, revoked or expired key.
  • 403 FORBIDDEN: a read key called a write endpoint, or an id belongs to another workspace.
  • 422 VALIDATION_ERROR, GUEST_CONTACT_REQUIRED, WEBHOOK_URL_NOT_ALLOWED or SANDBOX_RECIPIENT_NOT_ALLOWED: fix the request.
  • 429 RATE_LIMIT_EXCEEDED: the per-key hourly ceiling (600 by default).

GET /v1/getReservations

List reservations in the workspace, most recently created first · read key

List reservations in the workspace, most recently created first. For a single reservation's full compliance status, use getReservation.

Parameters

NameInTypeRequiredDescription
accommodationIdqueryintegernoRestrict to one accommodation
onlyUpcomingquerybooleannoOnly reservations that have not yet started
onlyClosedquerybooleannoOnly reservations already submitted for police reporting
onlyUnclosedquerybooleannoOnly reservations not yet submitted for police reporting
fromquerystringnoOnly reservations checking in on/after this date
toquerystringnoOnly reservations checking in on/before this date

Answers

  • 200 Success. The answer is in `data`.
  • 401 Missing, invalid, revoked or expired key.
  • 403 FORBIDDEN: a read key called a write endpoint, or an id belongs to another workspace.
  • 422 VALIDATION_ERROR, GUEST_CONTACT_REQUIRED, WEBHOOK_URL_NOT_ALLOWED or SANDBOX_RECIPIENT_NOT_ALLOWED: fix the request.
  • 429 RATE_LIMIT_EXCEEDED: the per-key hourly ceiling (600 by default).

POST /v1/updateGuestContact

Change a guest's e-mail or phone, or give a reservation its first guest contact · write key

Change a guest's e-mail or phone, or give a reservation its first guest contact. 409 CONTACT_LOCKED once the guest completed or signed their form; 409 ALREADY_SENT once the reservation is submitted; at most 5 e-mail changes per reservation per 24 hours. A "write"-scope key is required.

Request body (JSON)

FieldTypeRequiredDescription
reservationIdintegerno
externalIdstringno
externalGuestIdstringno
emailstringno
phoneNumberstringno
suppressGuestEmailbooleanno

Answers

  • 200 Success. The answer is in `data`.
  • 401 Missing, invalid, revoked or expired key.
  • 403 FORBIDDEN: a read key called a write endpoint, or an id belongs to another workspace.
  • 409 A real conflict: OVERLAP_CONFLICT, EXTERNAL_ID_CONFLICT, ALREADY_SENT, CONTACT_LOCKED, SANDBOX_LIMIT_REACHED, WEBHOOK_LIMIT_REACHED.
  • 422 VALIDATION_ERROR, GUEST_CONTACT_REQUIRED, WEBHOOK_URL_NOT_ALLOWED or SANDBOX_RECIPIENT_NOT_ALLOWED: fix the request.
  • 429 RATE_LIMIT_EXCEEDED: the per-key hourly ceiling (600 by default).

POST /v1/upsertReservation

Idempotent create-or-update: the first call with a given externalId creates the reservation, every later call with the same externalId updates it · write key

Idempotent create-or-update: the first call with a given externalId creates the reservation, every later call with the same externalId updates it. This is the write side of the partner API - a "write"-scope key is required.

Request body (JSON)

FieldTypeRequiredDescription
externalIdstringyes
accommodationIdintegeryes
listingIdsarray of integeryes
fromDatestringyes
toDatestringyes
personsCountintegeryes
countryOfResidencestringyes
recipientLanguagestringyes
emailstringno
phoneNumberstringno
firstNamestringno
lastNamestringno
purposestringno
sourcestringno
allowOverlapbooleanno
allowSkeletonbooleanno
suppressGuestEmailbooleanno
guestsarray of GuestInputnoEvery guest's details, each with your own externalGuestId (names, birthdate, nationality, document, address, optional signature image). Best Guest pre-fills each guest's check-in form; a form the guest completed, signed or edited is never overwritten. The response lists a result per guest. See the guests[] section of the reference.

Answers

  • 200 Success. The answer is in `data`.
  • 401 Missing, invalid, revoked or expired key.
  • 403 FORBIDDEN: a read key called a write endpoint, or an id belongs to another workspace.
  • 409 A real conflict: OVERLAP_CONFLICT, EXTERNAL_ID_CONFLICT, ALREADY_SENT, CONTACT_LOCKED, SANDBOX_LIMIT_REACHED, WEBHOOK_LIMIT_REACHED.
  • 422 VALIDATION_ERROR, GUEST_CONTACT_REQUIRED, WEBHOOK_URL_NOT_ALLOWED or SANDBOX_RECIPIENT_NOT_ALLOWED: fix the request.
  • 429 RATE_LIMIT_EXCEEDED: the per-key hourly ceiling (600 by default).

Webhooks

POST /v1/createWebhook

Register a webhook receiver · write key

Register a webhook receiver. The signing secret is returned once. Events are delivered at least once, in no guaranteed order; deduplicate on the event id. A "write"-scope key is required.

Request body (JSON)

FieldTypeRequiredDescription
urlstringyes
eventsarray of stringno
accommodationIdsarray of integerno

Answers

  • 200 Success. The answer is in `data`.
  • 401 Missing, invalid, revoked or expired key.
  • 403 FORBIDDEN: a read key called a write endpoint, or an id belongs to another workspace.
  • 409 A real conflict: OVERLAP_CONFLICT, EXTERNAL_ID_CONFLICT, ALREADY_SENT, CONTACT_LOCKED, SANDBOX_LIMIT_REACHED, WEBHOOK_LIMIT_REACHED.
  • 422 VALIDATION_ERROR, GUEST_CONTACT_REQUIRED, WEBHOOK_URL_NOT_ALLOWED or SANDBOX_RECIPIENT_NOT_ALLOWED: fix the request.
  • 429 RATE_LIMIT_EXCEEDED: the per-key hourly ceiling (600 by default).

POST /v1/deleteWebhook

Remove a webhook receiver; deliveries still waiting for it are cancelled · write key

Remove a webhook receiver; deliveries still waiting for it are cancelled. A "write"-scope key is required.

Request body (JSON)

FieldTypeRequiredDescription
webhookIdintegeryes

Answers

  • 200 Success. The answer is in `data`.
  • 401 Missing, invalid, revoked or expired key.
  • 403 FORBIDDEN: a read key called a write endpoint, or an id belongs to another workspace.
  • 409 A real conflict: OVERLAP_CONFLICT, EXTERNAL_ID_CONFLICT, ALREADY_SENT, CONTACT_LOCKED, SANDBOX_LIMIT_REACHED, WEBHOOK_LIMIT_REACHED.
  • 422 VALIDATION_ERROR, GUEST_CONTACT_REQUIRED, WEBHOOK_URL_NOT_ALLOWED or SANDBOX_RECIPIENT_NOT_ALLOWED: fix the request.
  • 429 RATE_LIMIT_EXCEEDED: the per-key hourly ceiling (600 by default).

GET /v1/getWebhooks

List the workspace's webhook receivers with their status and last delivery · read key

List the workspace's webhook receivers with their status and last delivery. Never returns a secret.

Answers

  • 200 Success. The answer is in `data`.
  • 401 Missing, invalid, revoked or expired key.
  • 403 FORBIDDEN: a read key called a write endpoint, or an id belongs to another workspace.
  • 422 VALIDATION_ERROR, GUEST_CONTACT_REQUIRED, WEBHOOK_URL_NOT_ALLOWED or SANDBOX_RECIPIENT_NOT_ALLOWED: fix the request.
  • 429 RATE_LIMIT_EXCEEDED: the per-key hourly ceiling (600 by default).

POST /v1/replayWebhookEvents

Send stored events to one receiver again (at most 1000 per call) · write key

Send stored events to one receiver again (at most 1000 per call). A "write"-scope key is required.

Request body (JSON)

FieldTypeRequiredDescription
webhookIdintegeryes
fromEventIdstringno
sincestringno
eventIdsarray of stringno

Answers

  • 200 Success. The answer is in `data`.
  • 401 Missing, invalid, revoked or expired key.
  • 403 FORBIDDEN: a read key called a write endpoint, or an id belongs to another workspace.
  • 409 A real conflict: OVERLAP_CONFLICT, EXTERNAL_ID_CONFLICT, ALREADY_SENT, CONTACT_LOCKED, SANDBOX_LIMIT_REACHED, WEBHOOK_LIMIT_REACHED.
  • 422 VALIDATION_ERROR, GUEST_CONTACT_REQUIRED, WEBHOOK_URL_NOT_ALLOWED or SANDBOX_RECIPIENT_NOT_ALLOWED: fix the request.
  • 429 RATE_LIMIT_EXCEEDED: the per-key hourly ceiling (600 by default).

POST /v1/testWebhook

Queue a webhook.test event to one receiver, to check the route and the signature end to end · write key

Queue a webhook.test event to one receiver, to check the route and the signature end to end. A "write"-scope key is required.

Request body (JSON)

FieldTypeRequiredDescription
webhookIdintegeryes

Answers

  • 200 Success. The answer is in `data`.
  • 401 Missing, invalid, revoked or expired key.
  • 403 FORBIDDEN: a read key called a write endpoint, or an id belongs to another workspace.
  • 409 A real conflict: OVERLAP_CONFLICT, EXTERNAL_ID_CONFLICT, ALREADY_SENT, CONTACT_LOCKED, SANDBOX_LIMIT_REACHED, WEBHOOK_LIMIT_REACHED.
  • 422 VALIDATION_ERROR, GUEST_CONTACT_REQUIRED, WEBHOOK_URL_NOT_ALLOWED or SANDBOX_RECIPIENT_NOT_ALLOWED: fix the request.
  • 429 RATE_LIMIT_EXCEEDED: the per-key hourly ceiling (600 by default).

POST /v1/updateWebhook

Change a webhook receiver · write key

Change a webhook receiver. A "write"-scope key is required.

Request body (JSON)

FieldTypeRequiredDescription
webhookIdintegeryes
eventsarray of stringno
accommodationIdsarray of integerno
enabledbooleanno
rotateSecretbooleanno

Answers

  • 200 Success. The answer is in `data`.
  • 401 Missing, invalid, revoked or expired key.
  • 403 FORBIDDEN: a read key called a write endpoint, or an id belongs to another workspace.
  • 409 A real conflict: OVERLAP_CONFLICT, EXTERNAL_ID_CONFLICT, ALREADY_SENT, CONTACT_LOCKED, SANDBOX_LIMIT_REACHED, WEBHOOK_LIMIT_REACHED.
  • 422 VALIDATION_ERROR, GUEST_CONTACT_REQUIRED, WEBHOOK_URL_NOT_ALLOWED or SANDBOX_RECIPIENT_NOT_ALLOWED: fix the request.
  • 429 RATE_LIMIT_EXCEEDED: the per-key hourly ceiling (600 by default).

Events

GET /v1/getEvents

The ordered event feed: the pull-based way to recover from anything a webhook missed, or to sync without webhooks · read key

The ordered event feed: the pull-based way to recover from anything a webhook missed, or to sync without webhooks. Events are kept 30 days: a cursor older than that is answered with 410 CURSOR_EXPIRED, and you start again without a cursor and resynchronise with getReservations.

Parameters

NameInTypeRequiredDescription
afterquerystringnoCursor: an event id (evt_123 or 123). Start with 0; pass the returned nextCursor next time.
limitqueryintegernoEvents per page, 1-500 (default 100).
typesqueryarray of stringnoOnly these event types (comma separated).

Answers

  • 200 Success. The answer is in `data`.
  • 401 Missing, invalid, revoked or expired key.
  • 403 FORBIDDEN: a read key called a write endpoint, or an id belongs to another workspace.
  • 410 CURSOR_EXPIRED: the cursor is older than the 30 days events are kept. Start again without a cursor and resynchronise with getReservations.
  • 422 VALIDATION_ERROR, GUEST_CONTACT_REQUIRED, WEBHOOK_URL_NOT_ALLOWED or SANDBOX_RECIPIENT_NOT_ALLOWED: fix the request.
  • 429 RATE_LIMIT_EXCEEDED: the per-key hourly ceiling (600 by default).

Sandbox

POST /v1/resetSandbox

Sandbox workspaces only (403 SANDBOX_ONLY elsewhere): remove every reservation of the sandbox so a test run starts clean · write key

Sandbox workspaces only (403 SANDBOX_ONLY elsewhere): remove every reservation of the sandbox so a test run starts clean. The test properties stay. A "write"-scope key is required.

Request body (JSON)

FieldTypeRequiredDescription

Answers

  • 200 Success. The answer is in `data`.
  • 401 Missing, invalid, revoked or expired key.
  • 403 FORBIDDEN: a read key called a write endpoint, or an id belongs to another workspace.
  • 409 A real conflict: OVERLAP_CONFLICT, EXTERNAL_ID_CONFLICT, ALREADY_SENT, CONTACT_LOCKED, SANDBOX_LIMIT_REACHED, WEBHOOK_LIMIT_REACHED.
  • 422 VALIDATION_ERROR, GUEST_CONTACT_REQUIRED, WEBHOOK_URL_NOT_ALLOWED or SANDBOX_RECIPIENT_NOT_ALLOWED: fix the request.
  • 429 RATE_LIMIT_EXCEEDED: the per-key hourly ceiling (600 by default).

POST /v1/sandboxSimulate

Sandbox workspaces only (403 SANDBOX_ONLY elsewhere): play the outside world for one reservation - close it, complete its police submission, or fail it - so status reads and webhooks can be tested end to end · write key

Sandbox workspaces only (403 SANDBOX_ONLY elsewhere): play the outside world for one reservation - close it, complete its police submission, or fail it - so status reads and webhooks can be tested end to end. Czech properties only for submit/fail. A "write"-scope key is required.

Request body (JSON)

FieldTypeRequiredDescription
reservationIdintegerno
externalIdstringno
actionstringyes

Answers

  • 200 Success. The answer is in `data`.
  • 401 Missing, invalid, revoked or expired key.
  • 403 FORBIDDEN: a read key called a write endpoint, or an id belongs to another workspace.
  • 409 A real conflict: OVERLAP_CONFLICT, EXTERNAL_ID_CONFLICT, ALREADY_SENT, CONTACT_LOCKED, SANDBOX_LIMIT_REACHED, WEBHOOK_LIMIT_REACHED.
  • 422 VALIDATION_ERROR, GUEST_CONTACT_REQUIRED, WEBHOOK_URL_NOT_ALLOWED or SANDBOX_RECIPIENT_NOT_ALLOWED: fix the request.
  • 429 RATE_LIMIT_EXCEEDED: the per-key hourly ceiling (600 by default).

Objects

Envelope

FieldTypeDescription
resulttrue
dataobject
errorsarray of object

Error

FieldTypeDescription
resultfalse
datanull
errorsarray of object

Ping

FieldTypeDescription
workspaceIdinteger
workspaceNamestring | null
scope"read" | "write"
vendorIdinteger | null
sandboxbooleantrue for a sandbox workspace.

Property

FieldTypeDescription
accommodationIdinteger
accommodationNamestring
residentialClientNamestring | null
districtstring | null
citystring | null
cityDistrictstring | null
streetstring | null
registerNumberstring | null
orientationNumberstring | null
postalNumberstring | null
countrystring | null
countryCodestring | null
autoClosebooleanRead-only: the host's "close reservations automatically" option. When on, a reservation closes by itself once every form is complete (from the arrival day to 14 days after), and a Czech one then goes to the police on schedule.
listingsarray of object

GuestInput

FieldTypeDescription
birthCountrystringISO 3166-1 alpha-3, e.g. DEU.
birthPlacestring
birthdatestring
checkInstring
checkOutstring
citystring
districtstring
emailstring
externalGuestIdstringYour own id for this guest. Required. Stable across calls: it is how a later call finds the same form.
firstNamestring
gender"M" | "F" | "X" | "N"Accepted so you need not strip it; Best Guest does not store it (the result carries a FIELDS_NOT_STORED warning).
houseNumberstring
identIssueDatestringThe identity document's issue date. Accepted, not stored (FIELDS_NOT_STORED warning).
identNumberstring
identType"id" | "passport"
isLeadbooleanThe booker. At most one. The lead's name and contact stand in for the top-level ones.
lastNamestring
licensePlatestring
nationalitystringISO 3166-1 alpha-3, e.g. DEU.
notestring
phoneNumberstring
postalCodestring
purposestring
removebooleantrue removes this guest's check-in form, and then only externalGuestId may accompany it. Allowed only for a guest you added through the API whose form nobody has filled, signed, edited or been billed for; otherwise the result is "skipped" with the reason. Removing a guest that is already gone is "unchanged".
residenceDocumentIssuingCountrystringISO 3166-1 alpha-3, e.g. DEU.
residenceDocumentNumberstring
residenceDocumentValidFromstring
residenceDocumentValidTostring
signaturestringA PNG or JPEG image of the guest's signature, base64 (a data URI is accepted), at most 1 MB. When you supply it the form can be completed without the guest opening Best Guest.
statestring
stayAuthorizationType"VISA" | "RESIDENCE_DOCUMENT" | "BIOMETRIC_PASSPORT"
streetstring
visaIssuePlacestring
visaNumberstring
visaType"AV" | "CV" | "LTV" | "DV"
visaValidFromstring
visaValidTostring

UpsertResult

FieldTypeDescription
reservationIdinteger
externalIdstring
createdboolean
statusstring | null
checkinUrlstring | nullThe lead guest's check-in link. Send it to the guest only.
guestsarray of GuestResultOne result per guest, when the call carried guests[].

GuestResult

FieldTypeDescription
externalGuestIdstring
dataIdinteger | null
result"created" | "updated" | "unchanged" | "removed" | "skipped"
reasonstringWhy a guest was skipped (or, with result unchanged, NOT_FOUND for a remove of a guest that is not there): FORM_COMPLETED, SIGNED, EDITED_SINCE, BILLED, NOT_PARTNER_CREATED, LEAD_CANNOT_BE_REMOVED, RESERVATION_CLOSED, FORM_REMOVED, NAME_REQUIRED, TOO_MANY_GUESTS, NO_LEAD_CONTACT, LEAD_ALREADY_MAPPED, GUEST_ACCOUNT_FAILED, INVALID_FILE_TYPE, ERROR.
missingFieldsarray of stringWhat the form still needs to count as complete; the signature is reported as "signature".
signatureRequiredboolean
checkinUrlstring | null
warningsarray of "CONTACT_NOT_CHANGED" | "FIELDS_NOT_STORED"

ContactResult

FieldTypeDescription
reservationIdinteger
externalIdstring | null
externalGuestIdstring | null
checkinUrlstring | null
checkinUrlChangedboolean
emailSentboolean

Reservation

FieldTypeDescription
reservationIdinteger
externalIdstring | null
statusstring
fromDatestring
toDatestring
accommodationIdinteger
listingsarray of object
personsCountinteger
countryOfResidencestring | null
reservationSourcestring | null
cleanersNotestring | null
formsarray of object
filledFormsinteger
missingFormsinteger
readyToSendboolean
submissionStatusnull | "PENDING" | "SENT" | "FAILED"Police reporting. Outside Czechia a closed reservation is stored as SENT although nothing is reported to a police portal.
localFeePaidAmountnumber | null
localFeePaidCurrencystring | null
localFeeQrAmountnumber | null
localFeeQrInfostring | null
checkinUrlstring | null
complianceobject

Webhook

FieldTypeDescription
webhookIdinteger
urlstring
eventsarray of "reservation.created" | "reservation.updated" | "reservation.cancelled" | "guest.form_completed" | "reservation.closed" | "reservation.reopened" | "reservation.submitted" | "reservation.submission_failed" | "localfee.requested" | "localfee.paid" | "localfee.payment_reverted"
accommodationIdsarray of integer
status"active" | "disabled"
disabledReasonstring | null
lastDeliveryStatusstring | null
lastDeliveredAtstring | null
lastHttpStatusinteger | null
createdAtstring
secretstringOnly in the answer to a secret rotation, once.

WebhookCreated

FieldTypeDescription
webhookIdinteger
secretstringThe signing secret. Shown once.
urlstring
eventsarray of string
accommodationIdsarray of integer
status"active"

Event

FieldTypeDescription
idstring
type"reservation.created" | "reservation.updated" | "reservation.cancelled" | "guest.form_completed" | "reservation.closed" | "reservation.reopened" | "reservation.submitted" | "reservation.submission_failed" | "localfee.requested" | "localfee.paid" | "localfee.payment_reverted" | "webhook.test"
apiVersion"v1"
occurredAtstring
workspaceIdinteger
dataobjectIds and status words only, never a name, a document number, a contact or a link.

EventPage

FieldTypeDescription
eventsarray of Event
nextCursorstringPass as `after` next time.
hasMoreboolean
feedEnabledbooleanfalse while Best Guest has event detection switched off: the feed is then empty.