Schedule a new flight. When omitting airline, aircraft, airport, or ticket class details, the API automatically resolves and populates them using your workspace flight settings.
Request
Parameters
The flight number identifier (e.g. RA 101).
ID of the departure airport.
ID of the arrival airport.
Airline ID configured in workspace settings.
Fleet aircraft type ID configured in workspace settings.
ISO 8601 timestamp for scheduled departure (defaults to current time if omitted).
ISO 8601 timestamp for scheduled arrival (calculated from duration if omitted).
Duration of the flight in real-world minutes.
In-game scaled gameplay duration in minutes.
Custom ticket class allocations. If omitted, uses default ticket classes from workspace settings.
Response
Status Codes
200: Flight created successfully
400: Invalid parameters (e.g. same origin and destination)
401: API key is required
403: Flights module is disabled