Receiving bookings

Every booking a hotel gets β€” from its booking engine, its dashboard, the channels, and the ones you sell β€” reaches you as revisions on one feed. Webhooks tell you when to read it.

The feed is the truth; a webhook is a doorbell. An integration that reads only the feed is correct. One that reads only webhooks is not: deliveries can come late, twice or out of order.

Needs bookings.read.

Connecting a new PMS

Start with a full copy of the hotel's bookings, then keep it current from the feed β€” without a gap between the two:

  1. Sync from a date.

    GET …/properties/{id}/bookings/sync?from=2026-01-01&by=checkin&page=1&limit=50
    

    Every booking of the property with check-in (by=checkin, the default) or creation (by=created) on or after from, oldest first, each exactly as the feed carries it (one booking of PMS v1's getBookings; revision_number "0" for one the feed has not sent yet) β€” cancelled ones and requests included. It reads the hotel's book, so bookings older than the feed are there too. Page through with page until meta.last_page.

  2. Keep the first page's feed_cursor. It is the feed's position when the sync began.

  3. Poll the feed from it: GET /booking_revisions/feed?since={feed_cursor}. Everything that changed after the sync began comes from here. A booking may arrive both in the sync and on the feed β€” apply it by its id, the later state wins.

No history wanted? GET /booking_revisions/feed?since=latest answers no revisions and the cursor to poll from.

The feed

GET  /booking_revisions/feed?since=0&limit=50
POST /booking_revisions/{id}/ack
{ "booking_revisions": [
    { "id": 23021, "booking_code": "MDQAFARE", "revision_type": "cancelled",
      "created_at": "2026-10-10T18:12:03+03:00",
      "payload": { "revision_id": "7ffbd926…", "revision_number": "2", "booking_id": 624292,
                   "booking_status": "cancelled", "status": "CANCELLED", "bs_ota_code": "OPN",
                   "ext_property_id": "1", "checkin_date": "…", "client": { … },
                   "booking_items": [ … ], "payments_plans": [ … ] } } ],
  "next_cursor": 23021 }

Revisions

revision_type When
created the booking appears
modified anything PMS v1 would send the booking again for: dates, rooms, guests, prices, payment plan, notes, contact data
cancelled it was cancelled
no_show the guest did not come

payload is the whole booking as it was at that moment β€” exactly one booking of PMS v1's Booking/getBookings, same fields, same values. That page describes every field. Contacts are not masked: you check the guest in.

Which id to use. The payload's booking_id is Quendoo's internal number, as PMS v1 sends it β€” no path of this API takes it. Use the booking code: the revision's booking_code on the feed, and booking_code in front of every booking that GET …/bookings, GET …/bookings/{id}, …/bookings/sync and the cancel / approve / no-show answers return. That is the {id} of …/bookings/{id}/cancel, payment_options, cancellation-quote and the rest.

What arrives, and when

One booking, or a list

GET …/properties/{id}/bookings lists the property's bookings now, with filters (checkin_from, booking_status, source_channel, …) and pages. GET …/bookings/{id} reads one. Use them to check your copy, not as your sync loop. Every filter is in the reference.

The sales channel of a booking (BDC, EXP, QCN for Quendoo Connect…) is bs_ota_code in the feed. source_channel on these reads is something else: the system that recorded the booking β€” QDO for Quendoo, CHX for bookings that came in through the hotel's channel manager.

Who the booking came from: booking_sources

Each booking in the feed carries booking_sources, the parties it came through. For a booking from a B2B agency, the first entry is the agency and reservation_id is the agency's own reference.

Some agencies are software booking for tour operators. Their bookings carry more entries after the agency's, one for each party further back, in order. reservation_id is the number that party gave the booking: for a tour operator, its voucher.

"bs_ota_code": "QDA",
"booking_sources": [
  { "type": "Other",         "code": "DIMO",  "name": "Dimo Soft",    "reservation_id": "TUIBG-V889123" },
  { "type": "Tour operator", "code": "TUIBG", "name": "TUI Bulgaria", "reservation_id": "V889123" }
]

Booking requests

A booking request waits for the hotel to accept it: booking_status requested (B2B agencies send them, and some hotels take every booking on request). It holds no room β€” until the hotel accepts it, the room can still be sold to someone else.

The feed carries a request from the start: a requested revision when it arrives, approved when the hotel accepts it (with the booking.approved and booking.created webhooks), cancelled when it is turned down. It holds no rooms until approved β€” do not take rooms for it before then.

Webhooks

POST /subscriptions
{ "events": ["booking.created", "booking.modified", "booking.cancelled"],
  "target_url": "https://your-pms.example/webhooks/qc",
  "property_ids": ["43be3468-…"] }

Without property_ids it covers your own account's properties β€” never another account's. The answer carries signing_secret β€” shown once; store it. POST /subscriptions/{id}/rotate_secret gives a new one, POST /subscriptions/{id}/test sends a webhook.test. Needs subscriptions.manage.

target_url must be a public https address on port 443 or 8443 (plain http works only on staging, for a tunnel while you build), and its host must resolve in public DNS to public addresses. Localhost, a private or reserved network, a quendoo.com host, a name that does not resolve and a URL with a user:pass in it are refused with 422 validation.public_webhook_url. The same check runs at every delivery, and redirects are not followed β€” your endpoint must answer at the URL itself.

A delivery:

POST https://your-pms.example/webhooks/qc
X-Qc-Event: booking.cancelled
X-Qc-Event-Id: evt_6756…
X-Qc-Timestamp: 1791662966
X-Qc-Signature-256: sha256=6a5f2b…
X-Qc-Attempt: 1

{ "id": "evt_6756…", "type": "booking.cancelled", "created_at": "…",
  "data": { "booking_id": "…", "property_id": "43be3468-…",
            "checkin_date": "2026-12-05", "checkout_date": "2026-12-07", … } }
  1. Check the signature: HMAC-SHA256 of <X-Qc-Timestamp>.<raw body> with your secret, hex, compared to X-Qc-Signature-256 after sha256=. Use the body exactly as received, not re-encoded JSON.
  2. Refuse old ones: a timestamp more than 5 minutes off.
  3. Skip repeats: the same X-Qc-Event-Id is the same event.
  4. Answer 2xx within 15 seconds, then read the feed.

A delivery that fails is tried again after 30 s, 2 min, 10 min, 1 h, 6 h and 24 h. After three failed deliveries in a row the subscription is suspended; fix your endpoint and switch it back on with PATCH /subscriptions/{id} and {"is_active": true}. GET /subscriptions/{id}/deliveries shows every attempt and its answer.

Events that fire

Event When
booking.created Β· booking.modified Β· booking.cancelled Β· booking.no_show with the feed revision of the same name
booking.requested a booking request arrived: the hotel accepts it (approve) or declines it (cancel); it holds no rooms until then
booking.approved the hotel accepted a booking request: the rooms are taken; booking.created is sent with it
property.onboarded Β· property.updated Β· property.mode_changed Β· property.disabled the property changed
room_type.created Β· room_type.updated Β· room_type.deleted a room type changed; deleted also on detach
rate_plan.created Β· rate_plan.updated Β· rate_plan.deleted Β· rate_plan.channel_binding_changed a rate plan changed
housekeeping.status_changed Β· housekeeping.maintenance_scheduled a room's housekeeping state
webhook.test you asked for a test

Only these can be subscribed to; any other name answers 422. More events (calendar changes, payments, reviews, guests) will come later.