Skip to main content
Creates a new calendar (a CalDAV collection) — useful to keep a workstream’s events separate from the personal calendar. Pass the returned calendarUrl to create_calendar_event to add events to it.

Parameters

string
required
The calendar’s display name. 1–200 characters.
string
A hex display color, #RRGGBB or #RRGGBBAA (e.g. #7FA6C9). Carried through the calendar-color extension so CalDAV clients show the calendar visually distinct.

Example

Call
Result

Errors

  • color must be a hex value like #FF6600 — the color value wasn’t a valid hex color.