Query Reservations

You can query reservations by making a request to this endpoint.

Query Params
string

Filters the results by the specified reservation code.

string

Filters the results by the reservation ID in the channel (matches the channel_id field returned in the response).

integer

Filters the results by the specified property ID.

string
enum

Filters the results by the specified reservation status.

Allowed:
date

Filters the results to include reservations with check-in dates starting from this date (inclusive).

date

Filters the results to include reservations with check-in dates up to this date (inclusive).

date

Filters the results to include reservations with check-out dates starting from this date (inclusive). By default, reservations within 180 days are returned.

date

Filters the results to include reservations with check-out dates up to this date (inclusive).

string
enum
Defaults to booked_at

Sorts the results by the specified field (always descending). Default is booked_at. created_at sorts by the row creation timestamp (i.e. when the reservation was first synced into Hostex).

Allowed:
string
enum

Filters the results by the specified channel type.

integer
Defaults to 0

Specifies the starting index from which the results should be returned. Default: 0

integer
Defaults to 20

Determines the maximum number of results to be returned, up to a maximum of 100. Default: 20.

Response

Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json