---
title: "Get booking details"
url: "https://kiwi.arashsheyda.me/apis/test/versions/9521eca2-d6a3-4036-a754-7b1bb1c91cdd/paths/bookings-bookingId/get"
---

> Full API specification: https://kiwi.arashsheyda.me/apis/test/versions/9521eca2-d6a3-4036-a754-7b1bb1c91cdd.md

# Get booking details

`GET` `/bookings/{bookingId}`

Retrieve details of a specific booking.

## Path parameters

- `bookingId` (string, required)

## Responses

- `200` - Booking details

## OpenAPI definition

```yaml
openapi: 3.0.3
info:
  title: Flight API
  version: 1.0.0
servers:
  - url: https://api.example.com/v1
paths:
  /bookings/{bookingId}:
    get:
      summary: Get booking details
      description: Retrieve details of a specific booking.
      parameters:
        - name: bookingId
          in: path
          required: true
          schema:
            type: string
      responses:
        "200":
          description: Booking details
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/BookingResponse"
components:
  schemas:
    BookingResponse:
      type: object
      properties:
        bookingId:
          type: string
        flight:
          $ref: "#/components/schemas/Flight"
        passenger:
          type: object
          properties:
            name:
              type: string
            email:
              type: string
        status:
          type: string
          enum:
            - confirmed
            - pending
            - canceled
    Flight:
      type: object
      properties:
        id:
          type: string
        airline:
          type: string
        flight_number:
          type: string
        origin:
          type: string
        destination:
          type: string
        departure_time:
          type: string
          format: date-time
        arrival_time:
          type: string
          format: date-time
        price:
          type: number
          format: float
```
