Manage scheduling
Use scheduling settings to change when new bookings are offered. Existing appointments keep their calendar and time.
- List calendars with
GET /v2/pub/settings/scheduling/calendars. Use the calendar ID for settings, rules, and date overrides. You can add a calendar from the same collection. SetbufferMinuteson a calendar to keep time free before and after each booking, such as for travel. - Use availability rules for time windows and date overrides for holidays or one-time changes. Enter times in the calendar's time zone. A weekly rule repeats every week on the days in
daysOfWeek, so leave its dates out. A one-time rule covers every day from its start date to its end date, so leavedaysOfWeekout. For an all-day block, setisAvailableto false and leave both times out. An override withisAvailabletrue only limits a date to hours your rules already open; to add hours or open a closed day, create a one-time rule for that date. LeavenumberOfSlotsout to close the calendar for that time. SendnumberOfSlotsto block only that many openings, such as one crew. - When you list date overrides, send
fromandtodates, such as the next 90 days. Calendars synced with Google Calendar can have hundreds of overrides. - Use
PATCHto send the fields you want to change. Include the version you read asexpectedVersionto catch another edit. If you get a conflict, read the settings again before saving.
When adding a calendar, rule, or date override, send an Idempotency-Key if you need to retry the same create. Reuse the key and fields for up to 24 hours.
Use GET or PATCH /v2/pub/settings/scheduling/appointment-links to manage links customers can use to change appointments booked through a connected CRM.
Read with settings:read and save with settings:write. See the scheduling reference.