ghl_calendar_list_free_slots
Retrieve available time slots from a calendar within a date range. Optionally filter by timezone or specific users.
Instructions
startDate/endDate are epoch milliseconds (a number, e.g. 1548898600000), NOT an ISO date string, despite the parameter name. Date range cannot exceed 31 days. Get Free Slots Get free slots for a calendar between a date range. Optionally a consumer can also request free slots in a particular timezone and also for a particular user. Endpoint: GET /calendars/{calendarId}/free-slots (Version header: v3; source: v3/calendars-v3.json) OAuth scopes: calendars.readonly
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| userId | No | The user for whom the free slots are returned | |
| endDate | Yes | End Date (**⚠️ Important:** Date range cannot be more than 31 days) | |
| userIds | No | The users for whom the free slots are returned | |
| timezone | No | The timezone in which the free slots are returned | |
| startDate | Yes | Start Date (**⚠️ Important:** Date range cannot be more than 31 days) | |
| calendarId | Yes | Calendar Id |