Get the free times of a booking page
GET /booking_pages/{uuid}/availability
/booking_pages/{uuid}/availabilityReturns the free times a published booking page can offer in a date window, after applying its opening hours, days off, notice, horizon, buffers, daily limit and the events in the host's Google calendars, plus the merged busy ranges.
When to use: To see which times can be proposed before calling create_booking_offer, or to tell the user when the host is free.
When not to use: It only works on a published page of the user or one shared with them: a draft or paused page answers not found. It does not book anything. To change the opening hours themselves, use update_booking_page.
Side effects: Reads the host's calendars from Google during the request, one call per calendar of the page, so it can take a few seconds. Nothing is written to Google and nothing is sent.
Filters: from and to are required, must carry a time zone and span at most 31 days; they are cut to the notice period and the horizon of the page. duration must be one of the page's allowed_durations (only default_duration if the page does not let people choose). time_zone is any IANA time zone and is only echoed back: all times in the response are UTC.
Permissions: Requires a CRM seat and the crm.contacts_companies.write capability. The page must be published and either belong to the user who owns the token or be shared with them (set_booking_page_sharing).
Value for the X-Auth-Token header parameter.
In: header
Path Parameters
UUID of a published booking page that is the user's own or shared with them. Get it from list_usable_booking_pages.
uuidQuery Parameters
Start of the window, ISO 8601 with seconds and time zone.
date-timeEnd of the window, ISO 8601 with seconds and time zone, at most 31 days after from.
date-timeMeeting length in minutes.
Value in
- 15
- 30
- 45
- 60
IANA time zone of the person the times are for. Only echoed back.
Response Body
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
curl -X GET "https://api.easymailing.com/booking_pages/b4d2c7a1-8e35-4f60-9a12-3c5e7d9f1b84/availability?from=2026-11-09T00%3A00%3A00Z&to=2026-11-13T23%3A59%3A59Z&duration=30&time_zone=America%2FMexico_City" \ -H "X-Auth-Token: YOUR_API_KEY"{ "slots": [ { "starts_at": "2019-08-24T14:15:22Z", "ends_at": "2019-08-24T14:15:22Z", "duration_minutes": 0 } ], "busy": [ { "starts_at": "2019-08-24T14:15:22Z", "ends_at": "2019-08-24T14:15:22Z" } ], "time_zone": "string", "page_time_zone": "string"}