APIReference data

Get an airline

GET
/api/v1/airlines/{id}

Authorization

bearerAuth reference_data.read
AuthorizationBearer <token>

Send Authorization: Bearer <credential>. Create API keys in AirTrail Security settings. OAuth clients use authorization code with PKCE S256 and a resource identifier matching /api/v1.

In: header

Scope: reference_data.read

Path Parameters

id*integer

Resource ID.

Range1 <= value

Response Body

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/api/v1/airlines/1"
{  "data": {    "id": 0,    "name": "string",    "icao": "string",    "iata": "string",    "iconPath": "string"  }}