Calendar

Creates a calendar event. Conferencing and recurrence behave differently on Microsoft and Google accounts.

Microsoft accounts

  • conferencing: teams adds a Teams meeting. The created event comes back with conferencing: null when the tenant has no Teams (the EEA Business Basic SKUs ship without it).
  • google_meet is rejected with 400 (param: conferencing).

Google accounts

  • conferencing: google_meet adds a Meet link.
  • teams is rejected with 400.
  • recurrence accepts any RRULE Google Calendar supports.

Recurrence

recurrence takes one RRULE line with FREQ, INTERVAL, COUNT, UNTIL, BYDAY and BYSETPOS. Other parts are rejected with 400 (param: recurrence).

post/v1/calendar/events

Request

  • Base URL
    https://zernio.com/api
  • URL
    https://zernio.com/api/v1/calendar/events
  • Auth
    HTTP bearer

Request body

accountIdstring required
calendarIdstring

Defaults to the primary calendar.

titlestring required
descriptionstring

HTML.

locationstring
startstring required

ISO date-time, or a date (YYYY-MM-DD) for all-day events.

endstring required

Exclusive for all-day events.

allDayboolean
timezonestring

IANA zone the event is scheduled in. Default UTC.

recurrencestring[]

RRULE lines, e.g. RRULE:FREQ=WEEKLY;BYDAY=MO,WE;COUNT=10.

conferencing'google_meet' | 'teams'
busyboolean
visibility'default' | 'public' | 'private'
metadataobject

Response

The created event

Changes