Create a new event or task
create_eventCreate an event or task for the authenticated user. title is required (1–200 characters). start and end are ISO 8601 date-time with offset, or YYYY-MM-DD for an all-day event in the event timezone. timezone is an IANA name (default UTC) and stays the event zone — it is not replaced by the user timezone. rrule is an iCalendar RRULE string. status is active, done, undone, or cancelled. type is event or task. location is a short place name. waitSync defaults to true and waits for the external calendar so the response can include links; false responds immediately and links may be absent.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end | No | ISO 8601 date-time with offset, or YYYY-MM-DD for an all-day event in the event timezone | |
| desc | No | Description (up to 1000 characters) | |
| type | No | event is a timed item; task is a to-do without a duration | |
| rrule | No | iCalendar RRULE string for a repeating event | |
| start | No | ISO 8601 date-time with offset, or YYYY-MM-DD for an all-day event in the event timezone | |
| title | Yes | Event or task title (1–200 characters) | |
| allDay | No | True when start and end are calendar dates without a time | |
| status | No | Event status: active, done, undone, or cancelled | |
| location | No | Short place name | |
| timezone | No | IANA timezone of the event; stored as-is, not replaced by the user timezone | |
| waitSync | No | Wait for the external calendar so the response can include links; default true | |
| calendarId | No | Calendar that owns the event; omit for the default calendar |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Event id | |
| end | No | End in the user timezone (ISO 8601) | |
| desc | No | Description | |
| type | No | event is a timed item; task is a to-do without a duration | |
| links | No | External calendar links when sync has finished | |
| rrule | No | iCalendar RRULE string when the event repeats | |
| start | No | Start in the user timezone (ISO 8601) | |
| title | Yes | Event or task title | |
| allDay | No | True when the event is a calendar date without a time | |
| status | No | Event status: active, done, undone, or cancelled | |
| location | No | Short place name | |
| timezone | No | IANA timezone stored on the event | |
| createdAt | No | When the event was created (ISO 8601) | |
| updatedAt | No | When the event was last changed (ISO 8601) | |
| calendarId | No | Calendar that owns the event |