Requires appointments:read and a key with the booking API switched on. Answers the slots the booking portal would offer for the type, practitioner (default: the key's own account) and optional location, from startDate to endDate, a range of at most 14 days in the practitioner's time zone. Working hours, exceptions, the type's lead time and slot grid, other appointments and classes, rooms and other required resources, and external calendar events marked busy all count. Only slots wholly inside the range are returned, and days with no free slot are left out. The answer is advisory: a create checks the slot again and answers 409 booking_conflict if it has been taken since. Class types are refused with 422, and a priced type with 422 while priced bookings are not enabled for the environment.
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
400Missing or invalid date-time, time zone or selector, or a range that is empty, backwards or longer than 14 days.
403Missing scope, or a practitioner in your practice whose diary you may not book.
404Practitioner, type or location not found, not in your practice, or not assigned to the practitioner.
422A class type, or a priced type while priced bookings are not enabled.
503The booking API is not enabled for this key, or is temporarily unavailable.
