Docs
← chronapilot.com v 2026-05-12
API reference · Calendars
cal_

Calendars

Per-calendar configuration: select for sync, set writability.

Endpoints

GET /v1/connections/{id}/calendars List calendars on a connection
PATCH /v1/connections/{id}/calendars/{calId} Update sync settings idempotent

Object shape

A calendar is a single named container within a connection (e.g. "Primary", "Work travel"). Sync is configurable per calendar.

FieldTypeDescription
idstringPrefixed cal_.
objectstringAlways calendar.
connection_idstringParent connection.
external_idstringProvider's identifier for this calendar (primary on Google, a UUID on Microsoft).
namestringDisplay name.
color_hexstring?Provider-assigned display color.
writablebooleanTrue if events can be written back to this calendar.
selectedbooleanTrue if this calendar's events flow into ChronaPilot.
is_defaultbooleanPrimary calendar for the connection.
timezonestringIANA timezone identifier.

List calendars on a connection

HTTP
GET /v1/connections/{id}/calendars

Update a calendar's sync settings

HTTP
PATCH /v1/connections/{id}/calendars/{calId}

Body:

JSON
{ "selected": true, "writable": true }

Marking a calendar selected: false immediately stops ingesting its events. Existing events remain.

Reference implementation