Skip to main content
POST
Validate a flight

Authorizations

_attend_session
string
cookie
required

Web session cookie (Devise). Used only by the Travel endpoints.

Body

application/json
flight_code
string
required
Example:

"AA100"

departure_date
string<date>
required
Example:

"2026-08-01"

Response

200 - application/json

Validation result (valid or not).

valid
boolean
error
string

Present when valid is false.

flight_code
string
Example:

"AA100"

carrier
string
Example:

"AA"

number
string
Example:

"100"

multiple_flights
boolean
airline
object
flights
object[]
departure_airport
string

Duplicated from flights[0].

arrival_airport
string
departure_time
string<date-time> | null
arrival_time
string<date-time> | null
status
string
aircraft_type
string | null