List Hotel Stays
List Hotel Stays
Retrieve all hotel stays with filtering and pagination support
GET
List Hotel Stays
List Hotel Stays
Retrieve a paginated list of hotel stay records for your organization, with support for filtering by status, date range, name, and file.Request
Headers
Bearer token for authenticationExample:
Bearer sk_live_1234567890abcdefYour organization UUIDExample:
a8315ef3-dd50-43f8-b7ce-d839e68d51faQuery Parameters
Filter by statusAvailable values:
active, pending, errorExample: status[]=activeFilter for stays that overlap this start date (inclusive)Format:
YYYY-MM-DDExample: 2024-01-01Filter for stays that overlap this end date (inclusive)Format:
YYYY-MM-DDExample: 2024-12-31Filter by name (partial match, case-insensitive)Example:
offsiteFilter by source file UUID. Pass
00000000-0000-0000-0000-000000000000 to
filter for stays with no associated file.Example: file_id[]=3fa85f64-5717-4562-b3fc-2c963f66afa6Filter by minimum creation time (inclusive)Format:
YYYY-MM-DDTHH:MM:SSZFilter by maximum creation time (inclusive)Format:
YYYY-MM-DDTHH:MM:SSZSort order. Prefix with
- for descending.Example: sort=-check_in_datePage number for pagination
Items per page (max 100)
Response
Array of hotel stay objects
Total number of records matching the filter
Current page number
Items per page
Hash of the current filter state — use to detect if filters have changed
Example
Successful Response
Related Endpoints
Get Hotel Stay
Get a specific stay by ID
Get Totals
Get aggregated stats across all stays

