get_flights_bookings
List confirmed flight bookings for the authenticated user, or retrieve a single booking by airline PNR and passenger last name.
Instructions
Overview
List confirmed flight bookings owned by the authenticated user. Supports an optional PNR + last-name lookup for retrieving a single booking.
When to Use
"My bookings" page - Display the authenticated user's confirmed flight bookings
PNR lookup - Retrieve a single booking by
airlinePnrand a passenger'slastNameBooking management - Build dashboards or list views of past and upcoming reservations
What You Get
Confirmed bookings only - Returns records persisted from the booking flow;
Full booking objects with status, journey, passengers, order reference, and pricing
Sandbox isolation - Sandbox and live bookings are scoped by the API key used
Key Features
Owner-scoped: Only returns bookings belonging to the authenticated user
PNR + last-name lookup: When both
airlinePnrandlastNameare supplied, returns a single matching booking; both are required togetherStable response shape:
datais always an array containing exactly one element with abookingsarray
Quick Start
Call with no query parameters to list all bookings for the authenticated user. To look up a specific booking, pass both airlinePnr and lastName.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lastName | No | Passenger last name for single-booking lookup. Required together with `airlinePnr`. | |
| airlinePnr | No | Airline PNR (record locator) for single-booking lookup. Required together with `lastName`. |