---
title: "Get a customers current bookings"
url: "https://dev.kong-air.com/apis/kong-air-bookings-0/versions/842ab496-7e6c-45aa-ade1-1ecb54d6988e/operations/get-bookings"
---

> Full API specification: https://dev.kong-air.com/apis/kong-air-bookings-0/versions/842ab496-7e6c-45aa-ade1-1ecb54d6988e.md

# Get a customers current bookings

`GET` `/bookings`

Operation ID: `get-bookings`

Returns a list of bookings for the customer

## Responses

- `200` - Successful Response
- `401` - Unauthorized

## OpenAPI definition

```yaml
openapi: 3.0.0
info:
  title: Bookings Service
  version: 0.2.0
servers:
  - description: KongAir API Server
    url: https://api.kong-air.com
paths:
  /bookings:
    get:
      description: Returns a list of bookings for the customer
      operationId: get-bookings
      responses:
        "200":
          content:
            application/json:
              examples:
                Example Bookings list response:
                  value: |
                    [{
                      "ticket_number": "CDF3412",
                      "seat": "32A",
                      "flight": {
                        "number": "KA924",
                        "route_id": "LHR-SFO",
                        "scheduled_departure": "2023-09-03T09:15:00Z",
                        "scheduled_arrival": "2023-09-03T14:23:00Z"
                      }
                    }]
              schema:
                items:
                  $ref: "#/components/schemas/Booking"
                type: array
          description: Successful Response
        "401":
          description: Unauthorized
      summary: Get a customers current bookings
      tags:
        - sales
components:
  schemas:
    Booking:
      description: A flight Booking object
      example:
        flight:
          number: KA924
          route_id: LHR-SFO
          scheduled_arrival: 2023-09-03T14:23:00Z
          scheduled_departure: 2023-09-03T09:15:00Z
        seat: 32A
        ticket_number: CDF3412
      properties:
        flight:
          properties:
            number:
              type: string
            route_id:
              type: string
            scheduled_arrival:
              format: date-time
              type: string
            scheduled_departure:
              format: date-time
              type: string
          type: object
        seat:
          type: string
        ticket_number:
          type: string
      required:
        - ticket_number
        - flight
      type: object
```
