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:
-
Sync from a date.
GET β¦/properties/{id}/bookings/sync?from=2026-01-01&by=checkin&page=1&limit=50Every booking of the property with check-in (
by=checkin, the default) or creation (by=created) on or afterfrom, oldest first, each exactly as the feed carries it (one booking of PMS v1'sgetBookings;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 withpageuntilmeta.last_page. -
Keep the first page's
feed_cursor. It is the feed's position when the sync began. -
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 itsid, 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 }
- The feed returns the revisions you have not acknowledged, oldest
first. Pass
next_cursorback as?since=for the next page. - Acknowledge a revision only after you have saved it. One you have not acknowledged keeps coming back β which is what you want after a crash. Acks are per consumer: yours hide nothing from anyone else. Acking twice is harmless.
- Poll every 1β5 minutes. A later revision of a booking always has a larger
id, so applying them in feed order never puts an older state over a newer one.
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
- About a minute after a change.
- Names of rooms, rates and services come in en-GB; add
?lang=bg-BG(any language the hotel translates into) for another. Revisions recorded beforelangwas released (see the Changelog) keep their en-GB names. ext_*ids (ext_property_id,ext_room_id,ext_rate_id, β¦) are your codes. For a hotel connected through a PMS API v1 key they come from the key that carries its mapping. Otherwise they are the codes set on the mapping β by you (PATCHon the room type / rate plan) or by the hotel (its mapping card):ext_property_idis the property's external id, a room or room Γ rate carries its code, and meals, services and beds carry theirs. A room or rate with no code carries our own id (the same as in/room_typesand/rate_plans); a meal, service or bed with no code isnull. A code mapped later appears on bookings created or changed after it β a booking you already have keeps its ids until it changes.- Booking requests arrive as a
requestedrevision (statusREQUESTED), thenapprovedwhen the hotel accepts it, orcancelledwhen it is turned down β see Booking requests. A booking is followed until five days after checkout. - A property is followed while it is read β a token used in the last 7 days, an OAuth client that obtained an access token in the last 7 days, or an active webhook subscription. After a pause, your next call brings the hotel up to date: bookings made meanwhile come at once, changes to bookings you already have follow, usually within a few minutes. You get each booking's state as it is now, not every step it went through, and a booking that left the five-day window meanwhile is not followed.
- Connecting a property does not flood the feed: its existing bookings are recorded silently, and only changes from then on arrive.
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" }
]
typeisTour operator,Travel agencyorOther, the same words as for the agency itself.- When the tour operator is itself an agency registered with Quendoo,
codeandnameare that agency's: the same as on its own direct bookings, so one mapping on your side covers both. - The first entry never changes meaning. If you read only
[0], you get what you got before. Read the rest to show the tour operator and the voucher to reception. - The same line is also the first line of
additional_notes, for systems that show only the notes:[B2B] Tour operator TUI Bulgaria (TUIBG): V889123. - When the voucher changes, the booking comes again as
modified.
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.
- You send one with
"request": trueonPOST β¦/bookings/from_search(or"status": "REQUESTED"onPOST β¦/bookings). No payment is asked for:payment_urlis null andpayment_method_idis ignored until the hotel accepts it; the booking'sGETthen carries the payment. - The hotel accepts it in its dashboard (the Confirm button on the
booking), or you do it for the hotel:
POST β¦/properties/{id}/bookings/{id}/approveβ needsproperties.manage. The rooms are taken then; if they are gone meanwhile,409. The guest gets the confirmation e-mail. - Turning it down is
POST β¦/bookings/{id}/cancel. {id}is the booking's code. Anything but a waiting request answers409 errors.qc.booking_not_a_request.
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", β¦ } }
- Check the signature: HMAC-SHA256 of
<X-Qc-Timestamp>.<raw body>with your secret, hex, compared toX-Qc-Signature-256aftersha256=. Use the body exactly as received, not re-encoded JSON. - Refuse old ones: a timestamp more than 5 minutes off.
- Skip repeats: the same
X-Qc-Event-Idis the same event. - 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.