Skip to main content
The Flightline API authenticates requests with organization-scoped API keys. Each key belongs to exactly one organization and can only access that organization’s reviews.

Using a key

Send the key as a Bearer token on every request:
The X-Api-Key: <key> header is accepted as an alternative to the Authorization header.

Getting a key

API keys are issued per organization from your Flightline dashboard. Keys can be named, rotated, and revoked at any time; a revoked key stops working immediately.
Treat API keys like passwords. Store them in a secret manager, never in source control or client-side code. If a key is exposed, revoke it from the dashboard and issue a new one.

Errors

A 404 is returned (rather than 403) when you request a review that belongs to another organization, so the API never confirms the existence of resources outside your tenant.