SnozeDevelopers
API referenceCalendar

List the calendar sources in a workspace

Returns every calendar the caller can see, including connected provider calendars and database-backed record sources, with each source's sync state. Requires the `workspace:read` permission; for user principals the native Snoze calendar is materialized on first call so it is always offered. Sources the caller has no item access to are omitted rather than erroring.

GET
/v1/workspaces/{workspaceId}/calendar/sources
AuthorizationBearer <token>

Workspace API key created in Workspace settings → API keys. Scopes on the key bound what it can read and write.

In: header

Path Parameters

workspaceId*string

Response Body

application/json

application/json

application/json

curl -X GET "https://example.com/v1/workspaces/string/calendar/sources"
{  "data": [    {      "id": "string",      "workspaceId": "string",      "kind": "native",      "name": "string",      "color": "string",      "enabledByDefault": true,      "writable": true,      "syncState": "current",      "calendarId": "string",      "connectionId": "string",      "provider": "google_workspace",      "databaseId": "string",      "startFieldId": "string",      "endFieldId": "string",      "allDay": true,      "isSystemField": true,      "lastSyncedAt": "string"    }  ]}