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
systemstringYesBooking system code (e.g., VN, VJ, 1A)
flightValuestringYesEncoded flight value from flight search

Sample Request:

{
"system": "VN",
"flightValue": "encoded_flight_value_here"
}

Request Constraints & Business Rules

  • flightValue must be from a valid flight search.
  • 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

Sample Response:

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

Error Codes

This endpoint may return the following error codes:

For a complete list of error codes, see Error Codes.


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.