APIFlights
Export visible flights
GET
bearerAuth flight.export.ownheader
AuthorizationBearer <API key or OAuth 2.1 access 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.
Scope: flight.export.own
format?stringDefault
"json"Value in
"json""yaml""yml"scope?stringFlight ownership scope.
Default
"mine"Value in
"mine""user""all"userId?stringUser ID required when scope=user.
AirTrail backup.
- response
curl -X GET 'https://your-instance.example/api/v1/flights/export'Example Response
{}