v1
latestOpenAPI 3.0.02026-07-26866217.8 KBQuery Reservations
You can query reservations by making a request to this endpoint.
Query parameters
Filters the results by the specified reservation code.
Filters the results by the reservation ID in the channel (matches the channel_id field returned in the response).
Filters the results by the specified property ID.
Filters the results by the specified reservation status.
Filters the results to include reservations with check-in dates starting from this date (inclusive).
Filters the results to include reservations with check-in dates up to this date (inclusive).
Filters the results to include reservations with check-out dates starting from this date (inclusive). By default, reservations within 180 days are returned.
Filters the results to include reservations with check-out dates up to this date (inclusive).
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).
The type of the channel. See Supported Channels for more information.
Filters the results by the specified channel type.
Specifies the starting index from which the results should be returned. Default: 0
Determines the maximum number of results to be returned, up to a maximum of 100. Default: 20.
Response
Example response
{
"error_msg": "Done."
}