Booking

A booking, sometimes called a reservation, is a stay associated with a contact.

List all bookings

get

Returns a list of bookings across all gift cards. The bookings are ordered by the date they were created, with the most recent first.

Authorizations
x-api-keystringRequired

Value for the x-api-key header parameter.

Query parameters
pageintegerOptional

The collection page number

Default: 1
createdAt[before]stringOptional
createdAt[strictly_before]stringOptional
createdAt[after]stringOptional
createdAt[strictly_after]stringOptional
updatedAt[before]stringOptional
updatedAt[strictly_before]stringOptional
updatedAt[after]stringOptional
updatedAt[strictly_after]stringOptional
checkIn[before]stringOptional
checkIn[strictly_before]stringOptional
checkIn[after]stringOptional
checkIn[strictly_after]stringOptional
checkOut[before]stringOptional
checkOut[strictly_before]stringOptional
checkOut[after]stringOptional
checkOut[strictly_after]stringOptional
Responses
200

Booking collection

get
/bookings
GET /bookings HTTP/1.1
Host: api.glu.io
x-api-key: YOUR_API_KEY
Accept: */*
[
  {
    "id": 1,
    "createdAt": "2025-11-21T23:21:53.080Z",
    "updatedAt": "2025-11-21T23:21:53.080Z",
    "checkIn": "2025-11-21T23:21:53.080Z",
    "checkOut": "2025-11-21T23:21:53.080Z",
    "numberOfGuests": 1,
    "roomType": null,
    "roomName": null,
    "externalReference": null,
    "total": 1,
    "currencyCode": "text",
    "customerReference": "text",
    "purpose": "text",
    "channelNumber": null,
    "origin": "text"
  }
]

Retrieve a booking

get

Retrieves a Booking resource.

Authorizations
x-api-keystringRequired

Value for the x-api-key header parameter.

Path parameters
idstringRequired

Booking identifier

Responses
200

Booking resource

get
/bookings/{id}
GET /bookings/{id} HTTP/1.1
Host: api.glu.io
x-api-key: YOUR_API_KEY
Accept: */*
{
  "id": 1,
  "createdAt": "2025-11-21T23:21:53.080Z",
  "updatedAt": "2025-11-21T23:21:53.080Z",
  "checkIn": "2025-11-21T23:21:53.080Z",
  "checkOut": "2025-11-21T23:21:53.080Z",
  "numberOfGuests": 1,
  "roomType": null,
  "roomName": null,
  "externalReference": null,
  "total": 1,
  "currencyCode": "text",
  "customerReference": "text",
  "purpose": "text",
  "channelNumber": null,
  "origin": "text"
}

Last updated