GET /v1/scheduling/booking/resource-bookings
Search the resource bookings of a customer by phone, email or name: stays, blocks and older resource appointments.
GET
Search the resource bookings of a customer
Finds the resource bookings of a customer, newest first. It covers stays and block bookings, plus the resource appointments the business made before stays existed (
kind: "appointment"). Cancelled ones are left out.
Use the id of an item with GET, PATCH or cancel: they accept both kinds.
Endpoint
Required scope
scheduling:appointments:read
Query params
query: required. A phone (with or without+), an email, or a name (each word matches the first or last name). 1 to 200 characters.limit: 1 to 15. Defaults to 15.
Example request
curl
Response
200 OK
start_timeandend_time: local date-times with the branch’s offset.- A stay carries
check_in,check_outandnights. A block carriesdateandduration_minutes. - An older resource appointment (
kind: "appointment") keeps its block label and carries nocheck_in,check_outornights, even on a night resource. It took the night of its day. customer_phone: the phone stored on the booking. It is what you pass ascustomer_phoneto read, change or cancel it.
400 Bad Request
query missing, empty or longer than 200 characters, or limit outside 1 to 15.
401 Unauthorized · 403 Forbidden
Same semantics as the rest of the public API.Search the resource bookings of a customer