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

Authorization

apiKey
headerAuthorizationBearer <snoze_sk_…>

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

Path Parameters

workspaceId*string

Response Body

Success

application/json
  1. response
data*array<>
Example Request
curl -X GET 'https://api.snoze.dev/v1/workspaces/string/calendar/sources'
Example Response
{  "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"    }  ]}