Start Free Trial

Migrating from Chekin

The Chekin-compatible API speaks the paths, field names, enums, statuses, error bodies and webhook format of Chekin's API v3, on top of Best Guest's own services. For an integration that fits, switching is a change of base URL and credentials.

Check this first: where it works

The API is the same shape, but the work behind it is Best Guest's, and Best Guest covers Czechia, Slovakia and Poland. If your Chekin-connected properties are elsewhere (Spain, Italy, Portugal, ...) you cannot switch: Best Guest has no police or statistics integrations there, no tax calculator for those countries, no ID scanning (OCR) service and no face matching in this API. Do not read this API as "Chekin everywhere".

What you change

ChekinBest Guest
Base URLhttps://a.chekin.io/api/v3/https://api.bestguest.app/api/v3/ (or /public/api/v1/)
LoginPOST /token/ with {email, password}The same call; password is a Best Guest API key (bgk_...), email is any non-empty text.
HeaderAuthorization: JWT <token>The same. The token lasts one hour; POST /token/refresh/.

Log in

password is your Best Guest API key. The token lasts one hour.

curl -X POST https://api.bestguest.app/api/v3/token/ \
  -H "Content-Type: application/json" \
  -d '{
  "email": "integration@example.com",
  "password": "<apiKey>"
}'

Answer: HTTP 200.

What works the same

  • Reservations: POST/GET/PATCH/DELETE /reservations/, the same body fields (housing_id, check_in_date, check_out_date, external_id, default_invite_email, default_leader_full_name, guest_group, ...) and the same response (status, aggregated_status, detailed_statuses, signup_form_link, guest_group.members), paged as {count, next, previous, results}.
  • Housings and rooms (read): the housings of the account and their rooms, with is_auto_police_registration_enabled.
  • Guests: POST/GET/PATCH /guests/ with name, surname, birth_date, nationality, document, residence and signature.
  • Webhooks: subscribe per event, Chekin's envelope, x-payload-signature.
  • Errors and limits: Chekin's error bodies, per-minute limits and 429 with Retry-After.

Create a reservation

send_invite_email false: Best Guest does not e-mail the guest; use signup_form_link yourself.

curl -X POST https://api.bestguest.app/api/v3/reservations/ \
  -H "Authorization: JWT $TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
  "housing_id": 1234,
  "check_in_date": "2027-03-20",
  "check_out_date": "2027-03-23",
  "external_id": "chekin-doc-1",
  "default_invite_email": "anna@example.com",
  "default_leader_full_name": "Anna Muster",
  "guest_group": {
    "number_of_guests": 2
  },
  "send_invite_email": false
}'

Answer: HTTP 201, and external_id = "chekin-doc-1", nights_of_stay = 3, status = "NEW".

Add a guest

Nationality and residence use ISO alpha-2 codes. Gender and the document's issue/expiry dates are accepted and ignored. A signature (base64) is accepted.

curl -X POST https://api.bestguest.app/api/v3/guests/ \
  -H "Authorization: JWT $TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
  "reservation_id": 1234,
  "name": "Ben",
  "surname": "Muster",
  "gender": "M",
  "birth_date": "1992-05-06",
  "nationality": "DE",
  "document": {
    "type": "P",
    "number": "C01X00T47"
  },
  "residence": {
    "country": "DE",
    "city": "Berlin",
    "postal_code": "10115",
    "address": "Hauptstrasse 5"
  }
}'

Answer: HTTP 201, and name = "Ben", nationality = "DE".

Read it back

Statuses are derived from what Best Guest knows; outside Czechia police_check-in is always NOT_USED.

curl -X GET https://api.bestguest.app/api/v3/reservations/1234/ \
  -H "Authorization: JWT $TOKEN"

Answer: HTTP 200, and aggregated_status = "GUESTS_MISSING", detailed_statuses.police_check-in = "NEW".

What is different

AreaChekinBest Guest
Police reportresend-reservation-to-police triggers it.Never on request. The host's close reservations automatically option closes a complete reservation and the Czech report goes out on schedule. The endpoint returns the current state (NEW, MANUAL, SCHEDULED, COMPLETE, ERROR, NOT_USED). Outside Czechia it is NOT_USED.
Police and statistics accountsCreated through the API.Best Guest holds the police credentials per property; the API never accepts or shows them. /police-accounts/, /stat-accounts/ and their validation answer 404. StatRegistration is always NOT_USED.
Creating housings and roomsYes.No: a property needs a verified address and legal details, which the host enters in Best Guest. Housings and rooms are read-only.
Document typesMany (CZ_DL, CO_DIP, ...).P, CZ_P, CO_P (passport) and I, CZ_ID, CO_FID (identity card). Another type is refused with 400.
Fields Best Guest does not storeGender, second surname, the document's issue and expiry dates.Accepted and ignored, so your client works unchanged. Gender is returned as N.
The guest's signatureSent as base64 with the guest.The same. With every required detail it completes the form. You confirm you got it from the guest.
Deleting a guestDELETE /guests/{id}/403. Cancel the reservation, or leave the guest.
Changing a guestAny guest.Only guests you created through the API. A guest who entered their own details, or whose form is completed, signed or edited, is not overwritten.
Conflicts400 only.Also 400; the message starts with the Best Guest code (OVERLAP_CONFLICT: ..., ALREADY_SENT: ...).
Changing the contact with PATCH /reservations/{id}/One call changes everything.The booker's e-mail or phone is changed first, and refused (CONTACT_LOCKED once the guest filled the form, ALREADY_SENT once closed) with nothing else touched. If the other fields are then refused, the contact change stands. The guest gets the new link by e-mail unless send_invite_email is false.
Guest e-mailChekin sends the pre-check-in e-mail.Best Guest sends it, unless the body has "send_invite_email": false; then signup_form_link is yours to deliver.
RoomsOptional.A housing with one room needs none named; with several, name them in rooms.
Country of residence of a reservationNot asked.Taken from the property's country.
SandboxA test account with fake police accounts.A sandbox workspace, see Sandbox.

Not served

These Chekin endpoint groups answer 404 with a message saying so: police accounts and validation, statistics accounts and validation, locations, the tax calculator, OCR, biometric match, documents and entry forms, police receipts, guest groups as a resource, creating a room. A resource that does not exist in your account also answers 404.

Checklist

  1. Your properties are in Czechia, Slovakia or Poland.
  2. Ask your Best Guest contact for a sandbox key and run your existing client against it with only the base URL and the credentials changed.
  3. Check each place you used a police or statistics call: they now read state, they do not act.
  4. Check document types and country codes you send (alpha-2 for guests, as in Chekin).
  5. Move your webhook receiver: same envelope, same signature header; a delivery can repeat, so make the handler safe to run twice (re-reading the reservation is).
  6. Switch to a production key once the sandbox run is clean.

This API was written from Chekin's public documentation. If something in your client behaves differently from what you expect, that is a bug on our side: send us the request and the answer.