Search bookings
search_bookingsFind bookings within a time range and filter by status, booking page, or text, returning counts by status and page plus a compact booker list.
Instructions
Search bookings in a time range, optionally by status, booking page, or text (booker name/email in the form, title, or booking ref). Returns counts by status and page plus a compact list with booker name and email. Set raw=true for YCBM's full objects.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | End of the range, ISO 8601, e.g. 2026-10-12T09:00:00Z | |
| raw | No | ||
| from | Yes | Start of the range (bookings starting at or after this), ISO 8601, e.g. 2026-10-12T09:00:00Z | |
| pageSize | No | 10-500 (default 50) | |
| searchIn | No | Where to look for searchText (default: form, title, ref) | |
| statuses | No | Only these statuses | |
| direction | No | ||
| searchText | No | Text to search for (3+ chars), e.g. an email or surname | |
| fromBookingId | No | Continue after this booking ID (pagination) | |
| bookingPageIds | No | Only these booking page IDs |