---
title: "Get a customers current bookings"
url: "https://kongair.kong-sales-engineering.com/apis/bookings/versions/e76ff5ce-5835-40ee-817e-077abce466fd/operations/get-bookings"
---

> Full API specification: https://kongair.kong-sales-engineering.com/apis/bookings/versions/e76ff5ce-5835-40ee-817e-077abce466fd.md

# Get a customers current bookings

`GET` `/bookings`

Operation ID: `get-bookings`

## Responses

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

## OpenAPI definition

```yaml
openapi: 3.0.0
info:
  title: Bookings Service
  version: 1.0.0
servers:
  - url: https://shared-services.kong-sales-engineering.com/kongair
    description: KongAir API Server
paths:
  /bookings:
    get:
      tags:
        - sales
      summary: Get a customers current bookings
      operationId: get-bookings
      responses:
        "200":
          description: Successful Response
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: "#/components/schemas/Booking"
              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"
                      }
                    }]
        "401":
          description: Unauthorized
security:
  - basicAuth: []
components:
  schemas:
    Booking:
      type: object
      properties:
        ticket_number:
          type: string
        flight:
          type: object
          properties:
            number:
              type: string
            route_id:
              type: string
            scheduled_departure:
              type: string
              format: date-time
            scheduled_arrival:
              type: string
              format: date-time
        seat:
          type: string
      required:
        - ticket_number
        - flight
  securitySchemes:
    basicAuth:
      type: http
      scheme: basic
```
