Skip to main content
POST
Get Booking Details
Monitoring the state of a booking is critical for accurate order management. Travomatrix uses a formal state machine to govern the lifecycle of every flight reservation.

Booking State Machine

Every booking transition is validated against a strict state machine to prevent invalid operations (like issuing a ticket for a cancelled booking).

Status Values

Polling vs. Events

While you can poll this endpoint using the booking_id or pnr, we recommend using the X-Request-ID for tracking asynchronous operations. For production integrations, consider setting up a Webhook listener (Enterprise only).

Authorizations

X-API-Key
string
header
required

Body

application/json
booking_id
string
pnr
string

Response

200

Current booking state and PNR details.