Start Free Trial

Overview

Best Guest lets a PMS, channel manager or CRM push reservations and guests in, so that Best Guest runs the compliance work on them: the guest check-in, the report to the police portal where one exists, and the local fee. You read the status back, or get a webhook.

Two APIs on one account

Best Guest API v1Chekin-compatible API
Use it whenYou build a new integration, or want everything Best Guest offers.You already integrated Chekin and want to switch by changing the base URL and the credentials.
Base URLhttps://api.bestguest.app/v1/<method>https://api.bestguest.app/api/v3/ (also /public/api/v1/)
StyleJSON over HTTP, one method per endpoint, one envelope.REST resources, Chekin's field names, statuses and error bodies.
LoginYour API key in the Authorization header.Trade the key for a one-hour token, send Authorization: JWT <token>.
WebhooksSigned with X-BestGuest-Signature, replayable, with an event feed.Chekin's envelope and x-payload-signature.
ReferenceBest Guest API v1Chekin-compatible API

Both work on the same data, with the same checks: what one creates, the other reads.

Where it works

Properties in Czechia, Slovakia and Poland. Czech reservations of foreign guests are reported to the police portal (UbyPort) when the host has switched on automatic closing; Slovak and Polish properties get the same guest check-in and local-fee handling, with no automatic police report. This is not a replacement for Chekin everywhere: see Migrating from Chekin for what is and is not covered.

Start in five minutes

  1. A host creates a key in the Best Guest admin app (Settings → API Access) and gives it to you, or you ask for a sandbox key (starts bgk_test_).
  2. Check the key, then read the properties and their listings:

Check that your key works

A sandbox key (bgk_test_...) answers sandbox: true.

curl -X GET https://api.bestguest.app/v1/ping \
  -H "Authorization: $BESTGUEST_API_KEY"

Answer: HTTP 200, and result = true, data.scope = "write", data.sandbox = true.

List your properties and their listings

The ids you need for upsertReservation. autoClose is the host's own "close reservations automatically" option; you cannot change it.

curl -X GET https://api.bestguest.app/v1/getProperties \
  -H "Authorization: $BESTGUEST_API_KEY"

Answer: HTTP 200, and data.0.countryCode = "CZ", data.0.autoClose = true.

  1. Create a reservation with its guests. Best Guest pre-fills each guest's check-in form and hands back each guest's own link:

Create a reservation with both guests

The lead guest is the booker: their form is made with the reservation, so it reports unchanged. Every other guest gets a form of their own (created). Best Guest pre-fills each form; nothing is e-mailed because of suppressGuestEmail. The response has one result per guest, with what each form still needs.

curl -X POST https://api.bestguest.app/v1/upsertReservation \
  -H "Authorization: $BESTGUEST_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "externalId": "doc-example-1",
  "accommodationId": 1234,
  "listingIds": [
    1234
  ],
  "fromDate": "2027-03-10",
  "toDate": "2027-03-13",
  "personsCount": 2,
  "countryOfResidence": "Germany",
  "recipientLanguage": "en",
  "suppressGuestEmail": true,
  "guests": [
    {
      "externalGuestId": "guest-1",
      "isLead": true,
      "firstName": "Anna",
      "lastName": "Muster",
      "email": "anna@example.com"
    },
    {
      "externalGuestId": "guest-2",
      "firstName": "Ben",
      "lastName": "Muster",
      "birthdate": "1990-04-02",
      "nationality": "DEU",
      "identType": "passport",
      "identNumber": "C01X00T47",
      "street": "Hauptstrasse",
      "houseNumber": "5",
      "city": "Berlin",
      "postalCode": "10115",
      "state": "Deutschland",
      "purpose": "T",
      "birthPlace": "Berlin",
      "birthCountry": "DEU"
    }
  ]
}'

Answer: HTTP 200, and data.created = true, data.guests.0.result = "unchanged", data.guests.1.result = "created", data.guests.1.signatureRequired = true, data.guests.1.missingFields = ["signature"].

Read on: reservations and guests, webhooks, errors and limits.

Downloads

Every example in these pages is run against a sandbox on every change to the API. If an example here does not work, that is a bug on our side: write to support@bestguest.cz.