Calendar Connections
List Calendar Connections
List the authenticated user's own calendar connections (Google Calendar or Microsoft 365), with the calendar CRM activities are written to, the meeting-import and busy-time options, the last sync and push-channel health (`healthy`, `polling` or `none`). Also returns which calendar providers are installed and configured on this environment; a provider with `configured: false` cannot be connected.
Get Calendar Connection
Get one of the authenticated user's calendar connections, with the same fields as List Calendar Connections plus `sku_event_count`: how many SKU.io events (planned visits, calls, meetings and tasks) are on the account's calendar. That is the number of events Disconnect Calendar Connection deletes when `remove_events` is true.
Update Calendar Connection
Change a connection's settings. All fields are optional:
Disconnect Calendar Connection
Disconnect a calendar account. With `remove_events` (default `true`) the events SKU.io wrote to the calendar are deleted; with `false` they are left in place (reconnecting the same account later re-adopts them instead of writing duplicates). The stored authorization, event links and busy time are removed either way.
List Calendars on a Connection
List the calendars on the connected account, for choosing the calendar CRM activities are written to. Only calendars with `can_write: true` can be chosen.
Resync Calendar Connection
Start a full resync of the connection in the background: queued changes are replayed, every planned activity in the sync window (30 days back to 180 days ahead) is written to the CRM calendar, and the calendar is read in full. Returns the ID of the background job, whose progress can be read from the tracked job log endpoints.