KongAir Passenger API

Obtain API keys
Learn more about our process to obtain API keys before proceedingGet API keys

Introduction

Welcome to the KongAir Passenger API. KongAir is committed to delivering seamless, world-class travel experiences by leveraging modern technology. Our Passenger API enables authorized applications to access passenger details, loyalty program status, recent flight history, and transaction records. This API is designed for use by travel partners, airport systems, and customer service platforms.

Base URL

https://api.kongair.com/v1

All endpoints should be prefixed with the above base URL.

Authentication

The API requires an API key for authentication. Include your API key in the Authorization header:

Authorization: Bearer YOUR_API_KEY

Endpoints

Retrieve Passenger Information

GET /passengers/{customerId}

Fetch detailed information about a specific passenger using their unique customer ID.

Request Parameters

ParameterTypeLocationRequiredDescription
customerIdstringPathYesUnique customer ID (e.g., CUST12345)

Response

Success (200 OK)
{
  "customer_id": "CUST12345",
  "first_name": "John",
  "middle_name": "Michael",
  "last_name": "Doe",
  "email": "john.doe@example.com",
  "phone_number": "+1-555-123-4567",
  "address": {
    "street": "123 Main St",
    "city": "Los Angeles",
    "state": "CA",
    "postal_code": "90001",
    "country": "USA"
  },
  "employer": "Acme Corp",
  "loyalty_status": {
    "tier": "Gold",
    "points_balance": 25000,
    "status_valid_until": "2026-12-31"
  },
  "recent_flights": [
    {
      "flight_number": "KA5678",
      "origin": "JFK",
      "destination": "LAX",
      "departure_date": "2024-05-15",
      "class": "Business",
      "seat_number": "12A"
    }
  ],
  "recent_purchases": [
    {
      "purchase_id": "PUR78901",
      "description": "Extra baggage allowance",
      "amount": 50.00,
      "purchase_date": "2025-02-20T14:30:00Z"
    }
  ]
}
Error Responses
Status CodeDescription
400Invalid customer ID format
404Passenger not found
500Internal server error

Data Models

Passenger Object

FieldTypeDescription
customer_idstringUnique customer identifier
first_namestringPassenger's first name
middle_namestringPassenger's middle name (if available)
last_namestringPassenger's last name
emailstringPassenger's email address
phone_numberstringContact phone number
addressobjectFull address details
employerstringEmployer name (if available)
loyalty_statusobjectDetails on passenger's loyalty program
recent_flightsarrayList of past flights
recent_purchasesarrayList of recent purchases made with KongAir

Loyalty Status Object

FieldTypeDescription
tierstringLoyalty program tier (Bronze, Silver, Gold, Platinum)
points_balanceintegerCurrent loyalty points balance
status_valid_untilstringExpiry date of the current status

Flight History Object

FieldTypeDescription
flight_numberstringFlight identifier
originstringDeparture airport IATA code
destinationstringArrival airport IATA code
departure_datestringDate of flight (YYYY-MM-DD)
classstringTicket class (Economy, Business, First)
seat_numberstringAssigned seat number

Purchase Object

FieldTypeDescription
purchase_idstringUnique purchase identifier
descriptionstringDescription of the purchase
amountnumberTransaction amount (USD)
purchase_datestringDate and time of purchase (ISO 8601)

Usage Example

Here’s how a client application might retrieve passenger details:

curl -H "Authorization: Bearer YOUR_API_KEY" \
     -X GET "https://api.kongair.com/v1/passengers/CUST12345"

Rate Limits

To ensure fair usage, KongAir enforces rate limits on API requests:

  • Standard Tier: 1000 requests per hour
  • Enterprise Tier: 10,000 requests per hour

For higher limits, contact our API support team.

Support

For issues, feedback, or questions, reach out to KongAir Developer Support:

Conclusion

The KongAir Passenger API provides comprehensive and secure access to passenger profiles, loyalty status, and recent transactions. Whether you're enhancing customer service or integrating travel solutions, KongAir empowers your applications with rich passenger data. Start integrating today and elevate your travel experiences with KongAir!