---
title: "Get a customer's current bookings"
url: "https://devportal.jilson.dev/apis/kong-air-ap-is-1-0-0/versions/7a8b8282-7fdc-432a-a618-88582e8fb712/operations/get-bookings"
---

> Full API specification: https://devportal.jilson.dev/apis/kong-air-ap-is-1-0-0/versions/7a8b8282-7fdc-432a-a618-88582e8fb712.md

# Get a customer's current bookings

`GET` `/bookings`

Operation ID: `get-bookings`

Returns a list of bookings for the current customer.

## Responses

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

## OpenAPI definition

```yaml
openapi: 3.1.0
info:
  title: KongAir APIs
  version: 1.0.0
servers:
  - url: https://api.kongair.dev
    description: KongAir API Dev
paths:
  /bookings:
    get:
      summary: Get a customer's current bookings
      description: Returns a list of bookings for the current customer.
      operationId: get-bookings
      tags:
        - Bookings
      security:
        - BearerAuth: []
      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:
  - BearerAuth: []
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:
    BearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT
```
