Skip to main content

Get Flight Info

Retrieve detailed information for a specific flight.


Endpoint

  • URL: /api/v1/flight/getflightinfo
  • Method: POST
  • Auth Required: Yes (Bearer Token/X-api-key)
  • Content-Type: application/json

Authentication

This endpoint requires a valid JWT Bearer token in the Authorization header:

Authorization: Bearer <access_token>

Obtain tokens via /api/v1/sign-in (POST) with your credentials.


Request Structure

FieldTypeRequiredDescription
systemstringNoBooking system code (e.g., VN, VJ, 1A)
sessionInfostringNoFlight session info from user selection

Example Request:

{
"system": "VN",
"sessionInfo": "SESSION123"
}

Request Constraints & Business Rules

  • sessionInfo must be from a valid user selection.
  • Only supported flights can be queried.

Response Structure

FieldTypeNullableDescription
systemstringYesName of the airline system
statusbooleanNotrue if successful, false if failed
errorErrorCode (object)YesError details (if any)
descriptionstringYesError description (if any)
trackingIdstringYesTracking ID for request logs
trackingTimestring (date-time)YesTime for request tracking
segmentsarray of SegmentYesList of flight segments

Example Response:

{
"system": "VN",
"status": true,
"error": null,
"description": null,
"trackingId": "abc123",
"trackingTime": "2025-07-01T07:00:00.000Z",
"segments": []
}

Error Codes

See Error Codes for details on possible error responses.


Security & Validation

  • All input is validated for type and required fields.
  • Only authenticated users can access this endpoint.
  • The endpoint is protected against tampering with sessionInfo and flight data.

Validation Questions

  • Are there limits on the number of segments returned?
  • Are there airline-specific restrictions for flight info queries?

For integration support, see Contact Support.