Skip to content
ajar.Get started

Reservation list

booking.reservation.list

View connector

List active, past or cancelled Booking.com reservations

POST /v1/operations/booking.reservation.list

Headers

Authorization: Bearer YOUR_CONNECTOR_TOKEN
x-booking-token: YOUR_BOOKING_TOKEN
Content-Type: application/json

Use your connector bearer token and caller-held guest token in x-booking-token.

Inputs

ParameterExample typeExample value
stagestring"active"

Example input

{
  "stage": "active"
}
Open JSON schema

Input schema

{
  "$id": "https://useajar.com/schemas/booking/reservation-list.input.schema.json",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "additionalProperties": false,
  "properties": {
    "cursor": {
      "maxLength": 128,
      "minLength": 1,
      "type": "string"
    },
    "stage": {
      "enum": [
        "active",
        "past",
        "cancelled"
      ]
    },
    "status": {
      "enum": [
        "all",
        "confirmed",
        "cancelled"
      ]
    }
  },
  "required": [
    "stage"
  ],
  "type": "object"
}