Skip to main content
GET
Get a booking by ID

Authorizations

X-Api-Key
string
header
required

Path Parameters

bookingId
string
required

Booking ID

Response

OK

data
object

The wire contract for a booking, AT THE LATEST VERSION.

This is the single source of truth: toBookingResponse is annotated to return it (so the code cannot drift from it without a compile error), and the OpenAPI spec + docs + breaking-change gate are all generated from it.

Dates are ISO-8601 strings — the real wire form res.json produces from the underlying serialized values. Mongo ObjectIds are plain strings.

Keys produced conditionally by the serializer (spread guards) are optional.

success
boolean
Example:

true