OverviewProductsPlatformsAPI ReferenceResources
Calendar

Get an event

GEThttps://zernio.com/api/v1/calendar/events/{eventId}

Authentication

AuthorizationBearer tokenRequired

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

Path parameters

eventIdstringRequired

Query parameters

accountIdstringRequired

The connected Google, Microsoft or IMAP account.

calendarIdstring

The calendar holding the event (an id from GET /v1/calendar/calendars). Defaults to the primary calendar.

timezonestring

Responses

Success· the request worked

Errors· the request failed

GET/v1/calendar/events/{eventId}
import Zernio from '@zernio/node';const zernio = new Zernio({ apiKey: process.env.ZERNIO_API_KEY });const { data } = await zernio.calendar.getCalendarEvent({  path: {    eventId: 'event_abc123',  },  query: {    accountId: 'account_abc123',  },});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": [        {          "method": "popup",          "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"  }}
OpenAPI specification
Was this page helpful?