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
Example request
{
"passengers": [
{
"phone": "+12025550100"
}
]
}Response
Flight booking created
Changes
No recorded changes to this operation across all 1 revision of this API.