ghl_calendar_list_blocked_slots
Retrieve blocked time slots in a calendar for a specified time period. Use location ID and time range to get blocked slots, with optional user, group, or calendar filters.
Instructions
startTime/endTime are epoch milliseconds passed as strings. Get Blocked Slots Endpoint: GET /calendars/blocked-slots (Version header: v3; source: v3/calendars-v3.json) OAuth scopes: calendars/events.readonly
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| userId | No | User Id - Owner of an appointment. Either of userId, groupId or calendarId is required | |
| endTime | Yes | End Time (in millis) | |
| groupId | No | Either of groupId, calendarId or userId is required | |
| startTime | Yes | Start Time (in millis) | |
| calendarId | No | Either of calendarId, userId or groupId is required | |
| locationId | Yes | Location Id |