List Flights

Lists all the flights in the network. For the explorer, use the API Key.

Why List Flights?

The List Flights endpoint enables you to call the Flights endpoint and return an array of existing flights in the campaign.

The filter attribute specifies the set of flights that will be returned by selecting them based on the state of the IsArchived and IsActive properties.

🚧

Caution

Specifying both filter and either isActive or isArchived generates an error.

filter valueIncludes flights where IsActive isIncludes flights where IsArchived isComments
not-archivedAny valuefalse or nullThe default - omitting the filter attribute is equivalent to specifying this value.
archivedAny valuetrue
activetruefalse or null
inactivefalsefalse or null

API Syntax

When using the List Flights API, it is important to understand the syntax required to make the request. Because the Kevel API is a RESTful API, there is a specific request format that must be followed to ensure the endpoint can process the request. The format is:

GET https://api.kevel.co/v1/flight

Where:

  • GET - the type of API request being made.
  • https://api.kevel.co - the URL for the request.
  • v1 - the API version.
  • flight - the API endpoint being called.
Language
Authorization
Header