Book a flight

Creates a flight booking from a valid quote. Returns a hosted checkout session URL for payment. After payment, the booking is confirmed automatically via webhook.

post/flights/book

Request

  • Base URL: https://api.tellandgo.com/api/v1/agent
  • URL: https://api.tellandgo.com/api/v1/agent/flights/book
  • Auth: API key in header X-API-Key

Headers

Idempotency-Keystring required

Required for financial operations. Reuse the same key for a retry of the same request. Keys are scoped to the integration and operation for 24 hours; reusing one with a different body returns HTTP 409.

Request body

quote_idstring required

Quote ID from flight quote

Example request

{
  "passengers": [
    {
      "phone": "+12025550100"
    }
  ]
}

Response

Flight booking created

successboolean

Changes

No recorded changes to this operation across all 1 revision of this API.