---
title: "Create a flight quote"
method: POST
path: "/flights/quote"
---

# Create a flight quote

`POST /flights/quote`

## Request

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

Revalidates a flight offer and creates a time-limited price-guaranteed quote.
The quote ID is required for booking. Quotes expire within 15 minutes.

## Headers

- `Idempotency-Key` string

## Request body

- FlightQuoteRequest
  - `offer_id` string, required: Offer ID from flight search results

## Response `200`

Flight quote created

- FlightQuoteResponse
  - `success` boolean
  - `quote` object
    - `id` string: Quote ID (use for booking)
    - `offer_id` string
    - `expires_at` string, date-time
    - `airline` object
      - `name` string
      - `iata_code` string
      - `logo_url` string, uri
    - `slices` object[]
      - `origin` string
      - `destination` string
      - `departureTime` string, date-time
      - `arrivalTime` string, date-time
      - `duration` string
      - `segments` object[]
        - `carrier` string
        - `carrierCode` string
        - `flightNumber` string
        - `origin` string
        - `destination` string
        - `departureTime` string, date-time
        - `arrivalTime` string, date-time
        - `cabinClass` string
    - `passengers` object[]
      - `id` string
      - `type` string
    - `pricing` object
      - `total` number
      - `currency` string
      - `base` number
      - `taxes` number
    - `cabin_class` string
    - `conditions` object
      - `refundable` boolean
      - `changeable` boolean
    - `seats_remaining` integer

## Other responses

- `400`: Invalid request
- `401`: Authentication required or invalid
- `410`: Offer no longer available

---

[API](https://skmtc.dev/tellandgo/apis/tell-go-travel-agent-api.md) · [All operations](https://skmtc.dev/tellandgo/apis/tell-go-travel-agent-api/llms.txt) · [OpenAPI document](https://skmtc.dev/tellandgo/apis/tell-go-travel-agent-api/revisions/3d84f816eb4f?raw)
