8Read it back
/api/v1/flights/bookings/{id}Reachable with a narrow key: flight_booking
pending: true means paid but the numbers are not issued yet; the ticket webhook fires when they are (Webhooks). Only bookings made through the booking API answer here.Parameters
Path
iduuidrequired
Response · 200
iduuidThe booking id.
statusenumheldwaits for payment,ticketingis paid and waiting for numbers,ticketedis done;cancelled,expiredandfailedare closed.one of
pendingheldawaiting_approvalticketingticketedpartially_ticketedcancelledexpiredfailedrecord_locatorstringThe airline booking reference (PNR).
ticketing_time_limitdate-timeWhile
held: ticket before this, or the hold lapses.sale_iduuidThe sale in the agency's books.
totalstringThe sell total of the booking.
currencystringISO 4217 code of
total.pendingbooleanPaid, ticket numbers not issued yet. The ticket webhook fires when they are.
ticketsobject[]One per passenger once issued.
Show fieldsHide fields
ticket_numberstringThe e-ticket number.
passenger_namestringAs printed on the ticket (SURNAME/GIVEN).
Responses
401Missing or invalid Bearer token403The key cannot reach the booking API: the account lacks an add-on (addon_required, withdetails.missing), the plan has no API access, or the key's scope is narrow.404Resource not found
curl -X GET 'https://YOUR-CELL.lydira.com/api/v1/flights/bookings/2c3d4e5f-6a7b-4c8d-9e0f-1a2b3c4d5e6f' \
-H 'Authorization: Bearer sek_YOUR_API_KEY'{
"id": "2c3d4e5f-6a7b-4c8d-9e0f-1a2b3c4d5e6f",
"status": "ticketed",
"record_locator": "ABC123",
"ticketing_time_limit": "2026-10-08T18:00:00Z",
"sale_id": "7e6d5c4b-3a2f-4e1d-8c0b-9a8f7e6d5c4b",
"total": "412.50",
"currency": "EUR",
"pending": false,
"tickets": [
{
"ticket_number": "235-1234567890",
"passenger_name": "ARSLAN/DENIZ"
}
]
}