API action
Get your booking
Read one booking your key created.
About this action
- What it does
- Gives you one by its id, as it is now in the ZimmerStack .
- When to use it
- When you want to know if a booking still stands, or if the guest has arrived.
- Who can use it
- A , for a hotel that runs the ZimmerStack PMS. The key needs the
bookings:read. - Address
GEThttps://api.zimmerstack.com/api/v1/connect-api/v1/bookings/{bookingId}- Before this
- You need the
bookingId, from the answer of Create a booking.
What you send
In the address:
- bookingId
- Number. ZimmerStack's id of the booking.
Things to know
- You can read your own bookings only. Any other booking of the hotel answers 404, also when it exists.
The request, in your language
Put your key in place of zsk_live_YOUR_KEY.
Open a terminal and run this. On Windows PowerShell, type curl.exe instead of curl.
curl "https://api.zimmerstack.com/api/v1/connect-api/v1/bookings/48213" -H "Authorization: Bearer zsk_live_YOUR_KEY"What comes back
The is 200. The answer is one booking. In this example the guest has not arrived yet: the status is UPCOMING.
{
"statuscode": 200,
"message": "OK",
"data": {
"bookingId": 48213,
"reference": "SB-7KQ2MX9D",
"externalReference": "WEB-2026-000123",
"status": "UPCOMING",
"checkIn": "2026-12-20",
"checkOut": "2026-12-23",
"nights": 3,
"currency": "INR",
"totalAmount": "27000.00",
"totalPaid": "9000.00",
"balanceDue": "18000.00",
"guest": {
"name": "Asha Verma",
"phone": "+919876543210",
"email": "asha@example.com"
},
"rooms": [
{
"bookingRoomId": 90001,
"roomTypeId": 412,
"ratePlanId": 901,
"mealPlan": "CP",
"adults": 2,
"children": 1,
"nightlyRate": "4500.00",
"status": "UPCOMING"
},
{
"bookingRoomId": 90002,
"roomTypeId": 412,
"ratePlanId": 901,
"mealPlan": "CP",
"adults": 2,
"children": 0,
"nightlyRate": "4500.00",
"status": "UPCOMING"
}
],
"inventory": {
"eventRecorded": true,
"channelManager": true,
"pushedBy": "inventory-drain"
},
"replay": false,
"createdAt": "2026-12-10T09:14:03.201Z",
"cancelledAt": null
}
}- status
- Where the booking stands. With
UPCOMINGthe guest has not arrived yet. WithINHOUSEthe guest is at the hotel. WithCOMPLETEDthe guest has left. The others areCANCELLEDandNOSHOW, a . - totalAmount
- The price of the whole stay.
- totalPaid
- What was collected so far.
- balanceDue
- What the guest still pays at the hotel.
- rooms
- One item for each room, with its own
status. - cancelledAt
- When the booking was cancelled. It is
nullwhile the booking stands.
Common mistakes
- 404 BOOKING_NOT_FOUND
- This hotel has no booking with this id that your key created.
Other errors this request can give
- 401 API_KEY_INVALID
- The key is not right. Copy it again, all of it, with no space before or after.
- 403 SCOPE_MISSING
- The key is not allowed to do this. It needs the scope
bookings:read. - 403 IP_NOT_ALLOWED
- The key only works from the addresses its owner allowed.
- 429 RATE_LIMITED
- Too many requests in a short time. Wait the number of seconds in the
Retry-Afterheader, then send again. - 401 API_KEY_REVOKED
- The key was switched off, or it was replaced and its extra 24 hours are over. Ask the key's owner for the new key. Nothing else makes this key work.
- 409 PMS_NOT_AVAILABLE
- This is a booking request, and the hotel uses the channel manager only. It has no ZimmerStack PMS to put a booking in.
- 409 PROPERTY_UNAVAILABLE
- The hotel is deleted or is a demo. Or a test key was used on a real hotel, or a live key on a sandbox. Check which key you send. If the key is right, contact the hotel's owner.
Try it
This page has no box to try the action. A has no PMS, so this action works on a real hotel only. Test it on the real hotel with a , from your own code or from Postman. Never type a live key into a web page.
Words on this page
- Booking
- A guest has reserved a room for some nights. Also called a reservation.
- PMS
- Property management system: the software a hotel uses at its front desk for bookings, guests and bills.
- Hotel key
- A key that works for one hotel only. The hotel's owner makes it, or a partner makes it for a hotel it added.
- Scope
- One permission of a key. For example ari:write lets the key update availability, rates and restrictions.
- Sandbox
- Your test hotel. It works like a real hotel, but no OTA can see it and it costs nothing.
- Status code
- A number in every response. 200 to 299 means it worked. 400 and above means there is a problem.
- No-show
- A guest who booked but did not arrive.
- Test key
- A key that starts with zsk_test_. It works only on a sandbox, so it can never change a real hotel.
- Live key
- A key that starts with zsk_live_. It works on real hotels.
New here? Start with the partner path or the one-hotel path.
Routes, samples, limits and codes on this page come from the API's public contract, read live, Sat, 05 Dec 2026 00:40:29 UTC.