TravelyfeHelp
DevelopersAPI ReferenceBookings

List Flights

GET
/v1/itinerary/{id}/flights

The itinerary's flights.

AuthorizationBearer <token>

A Travelyfe access token.

In: header

Path Parameters

id*string

The itinerary id (UUID).

Formatuuid

Response Body

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/v1/itinerary/497f6eca-6276-4993-bfeb-53cbbbba6f08/flights"
{  "data": [    {      "id": "string",      "airline": "string",      "flightNumber": "string",      "origin": "string",      "destination": "string",      "departure": "2019-08-24T14:15:22Z",      "arrival": "2019-08-24T14:15:22Z",      "passengers": 0,      "reference": "string"    }  ]}