Trigger a sync of every calendar in the organization
Changed onPOST /organizations/{id}/sync-calendars/ — enqueue a sync of all calendars.
Each active calendar in the organization is synced using its owner's linked account. Calendars without an owner or a linked provider account are reported under skipped rather than failing the whole request.
Body (CalendarSyncRequestSerializer): start_datetime, end_datetime (required ISO 8601) and should_update_events. Returns HTTP 202 with {"synced": [...], "skipped": [...]}.
Request
- The document declares no server URL.
- Auth: one of:
- HTTP bearer
- API key in cookie sessionid
Path parameters
Headers
Selects the active organization for this request. Optional for callers that belong to exactly one active organization — the single membership is resolved implicitly. Required when the caller has two or more active memberships; omitting it in that case returns 400. If the header names an organization the caller is not an active member of, the server returns 403.
Request body
Response
Sync enqueued. Body: {synced: [calendar_id, ...], skipped: [{calendar_id, reason}, ...]}.
Changes
- ○
added the new optional
headerrequest parameterX-Organization-Id
- ○
- ○
endpoint added
- ○