OverviewProductsPlatformsAPI ReferenceResources
Calendar

List events in a window

GEThttps://zernio.com/api/v1/calendar/events

Recurring series are expanded into their occurrences inside the window by default (expandRecurring=false lists the masters instead, including series that started before from and still recur in the window). Events that overlap the window edges are included. title and location are substring matches applied to the fetched page.

Authentication

AuthorizationBearer tokenRequired

API key authentication: send your Zernio API key in the Authorization header, prefixed with Bearer.

Query parameters

accountIdstringRequired

The connected Google, Microsoft or IMAP account.

calendarIdstring

Defaults to the primary calendar.

fromstring (date-time)Required
tostring (date-time)Required
titlestring
locationstring
showCancelledbooleanDefault false
expandRecurringbooleanDefault true
icalUidstring
sortOrderstringDefault ascOne of asc | desc

Order by start time across the whole window. On Google, desc reads the window in full, so a window over 2,500 events answers 400; narrow from and to.

cursorstring
limitintegerDefault 50
timezonestring

IANA zone the start and end offsets are rendered in. Default UTC.

Responses

Success· the request worked

Errors· the request failed

GET/v1/calendar/events
import Zernio from '@zernio/node';const zernio = new Zernio({ apiKey: process.env.ZERNIO_API_KEY });const { data } = await zernio.calendar.listCalendarEvents({  query: {    accountId: 'account_abc123',    from: '2026-01-15T10:00:00Z',    to: '2026-01-15T10:00:00Z',  },});console.log(data);
{  "data": [    {      "id": "string",      "accountId": "string",      "provider": "google",      "calendarId": "string",      "title": "string",      "description": "string",      "location": "string",      "start": "string",      "end": "string",      "allDay": true,      "timezone": "string",      "participants": [        {          "email": "user@example.com",          "name": "string",          "status": "accepted",          "comment": "string",          "optional": true,          "resource": true,          "self": true,          "organizer": true        }      ],      "organizer": {        "email": "user@example.com",        "name": "string"      },      "recurrence": [        "string"      ],      "reminders": {        "useDefault": true,        "overrides": [          {            "minutes": 0          }        ]      },      "conferencing": {        "provider": "google_meet",        "url": "http://example.com"      },      "busy": true,      "visibility": "default",      "status": "confirmed",      "icalUid": "string",      "masterEventId": "string",      "type": "single",      "originalStart": "string",      "htmlLink": "string",      "readOnly": true,      "metadata": {        "property1": "string",        "property2": "string"      },      "createdAt": "2019-08-24T14:15:22Z",      "updatedAt": "2019-08-24T14:15:22Z"    }  ],  "pagination": {    "hasMore": true,    "nextCursor": "string"  }}
OpenAPI specification
Was this page helpful?