Skip to main content
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

string
required
The flight number identifier (e.g. RA 101).
string
required
ID of the departure airport.
string
required
ID of the arrival airport.
string
Departure gate ID.
string
Arrival gate ID.
string
Airline ID configured in workspace settings.
string
Fleet aircraft type ID configured in workspace settings.
string
ISO 8601 timestamp for scheduled departure (defaults to current time if omitted).
string
ISO 8601 timestamp for scheduled arrival (calculated from duration if omitted).
integer
default:"45"
Duration of the flight in real-world minutes.
integer
default:"15"
In-game scaled gameplay duration in minutes.
array
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