Skip to main content

Get a booking by id (public)

GET 

/api/v1/bookings/:bookingId

Public booking-detail read, keyed on the booking id — no authentication; anyone with the id can view it (like the pay-booking guest page). Returns the current format (GuestCartView) for bookings created by the new API, or the legacy format (LegacyBooking) for legacy/migrated bookings, discriminated by the booking's api_version. The X-Booking-Format response header is current or legacy so the client knows which shape it received. Unknown id → 404.

Request

Responses

Booking detail — GuestCartView (new-API bookings) or LegacyBooking (legacy bookings). The X-Booking-Format header (current|legacy) names the shape.