Calendar
Every operation in this group: what it accepts, what it returns and the errors it can answer with.
Operations
Events and invitations, as the Calendar page of the app shows them: list a window, read an event or the one a thread carries, put events on the calendar and change them, call off a meeting, and answer an invitation. A change that invites, updates or cancels attendees, and every answer, goes out by email, so it also needs emails:send.
/calendar/events/calendar/events/calendar/events/{id}/calendar/events/{id}/calendar/events/{id}/calendar/events/{id}/ics/calendar/events/{id}/cancel/calendar/events/{id}/respond/calendar/events/{id}/decline-proposal/calendar/events/{id}/hide/calendar/events/{id}/unhide/calendar/free-busy/calendar/feeds/calendar/feeds/calendar/feeds/{id}/calendar/feeds/{id}/reset/calendar/subscriptions/calendar/subscriptions/calendar/subscriptions/{id}/calendar/subscriptions/{id}/calendar/subscriptions/{id}/refresh/threads/{id}/event/calendar/calendars/calendar/calendars/calendar/calendars/{id}/calendar/calendars/{id}/calendar/calendars/{id}/calendar/calendars/{id}/members/{memberId}/calendar/calendars/{id}/members/{memberId}/calendar/logins/calendar/logins/calendar/logins/{id}/calendar/logins/profile-link/calendar/todos/calendar/todos/calendar/todos/{id}/calendar/todos/{id}/calendar/todos/{id}/calendar/imports/calendar/imports/calendar/imports/{id}/calendar/imports/{id}/undo
GET/calendar/events
List occurrences in a window
from and to are REQUIRED. Occurrences are expanded from recurrence rules, so a calendar has no meaningful unbounded listing. A default window would turn an infinite series into a question with no answer. At most a year apart.
Lists your own events: the ones you made and the ones an address of yours organises or attends. For the workspace owner and their keys, an address counts as theirs unless it was given to a teammate. Set includeTeam to true to add the rest of the workspace, apart from events somebody marked private. A member and a narrowed key always get their own view, whatever includeTeam says.
Requires the calendar:read scope.
Query parameters
fromstringRequiredStart of the window.
Formatdate-timetostringRequiredEnd of the window, after
fromand at most 366 days later.Formatdate-timetimezonestringRequiredIANA zone. Decides what an all-day event means.
includeTeambooleanAdds the events of the rest of the workspace, apart from the ones marked private. Only the workspace owner and their keys see more with it.
DefaultfalseqstringWords to look for in the title, the place and the organiser. Only events that hold every word come back, so search a long window, at most a year, to find an event by name.
Up to 200 characterscalendarIdsstringOnly the events in these calendars, as ids separated by commas. Events from calendar subscriptions are left out when you name calendars.
limitintegerRows per page, 1 to 100.
At least 1At most 100Default25cursorstringThe previous page's
nextCursor, passed back as it came. It is opaque: it holds where the last row sat in this list's order, so a row deleted or edited between pages never breaks the walk, and the next page starts at the first row that sorts after it. A value this list did not hand out is a 400invalid_cursor.
Returns
A page of occurrences, sorted by start and then by event id, with hasMore and nextCursor. Send the same from, to, timezone and q with every cursor. Nothing in the window is dropped: a series repeats at most once a day, so it gives at most one occurrence per day of the window, and every one is reachable through the pages. The cursor holds the start and event id of the last row, so an event deleted or moved between pages never breaks the walk.
Errors
The errors every operation can return400401403404422429500Error catalog
Also available in
- TypeScript
calendar.listEvents()calendar.listAllEvents()calendar.iterateEvents()- Python
calendar.list_events()calendar.list_all_events()calendar.iterate_events()- Ruby
calendar.list_eventscalendar.list_all_eventscalendar.iterate_events- PHP
calendar->listEventscalendar->listAllEventscalendar->iterateEvents- Go
Calendar.ListEventsCalendar.ListAllEventsCalendar.IterateEvents- Java
calendar().listEventscalendar().listAllEventscalendar().iterateEvents- C#
Calendar.ListEventsAsyncCalendar.ListAllEventsAsyncCalendar.IterateEventsAsync- MCP
listCalendarEvents
POST/calendar/events
Create an event
Puts an event on the calendar, as New event on the Calendar page of the app does. start and end are ISO 8601 with a zone, and timezone is the IANA zone the event belongs to, UTC unless you say. recurrence takes an RRULE such as FREQ=WEEKLY;BYDAY=MO, and reminders the minutes before the start.
With attendees, an invitation goes to each of them from the address in from, which has to be one the key or app may send as, so the call also needs emails:send. sendInvites: false keeps the change to your own calendar.
Requires the calendar:write scope.
Request body
summarystringRequiredThe title, 1 to 255 characters.
1 to 255 charactersdescriptionstringNotes about the event, up to 8,000 characters.
Up to 8000 characterslocationstringWhere it is: a room, an address or a link.
Up to 255 charactersurlstringA link that belongs to the event.
Up to 2000 charactersFormaturimeetingUrlstringA link to the video call, such as a Zoom, Meet or Teams address. It goes into the invitation, so guests see a Join button in their calendar too. Send an empty string to take it off.
Up to 2000 charactersstartstringRequiredWhen it starts, a
Dateor ISO 8601 with a zone.Formatdate-timeendstringRequiredWhen it ends, after
startand at most two years later.Formatdate-timeallDaybooleanWhether it fills whole days.
startandendthen mark the days.timezonestringThe IANA zone the event belongs to,
UTCunless you say.1 to 64 charactersrecurrencestringAn RRULE such as
FREQ=WEEKLY;BYDAY=MOwhen it repeats.Up to 512 charactersattendeesobject[]Up to 200 people to invite, each
{ email, name?, optional? }.Up to 200 itemsemailstringRequired- Up to 320 charactersFormat
email namestring- Up to 128 characters
optionalboolean
remindersobject[]Up to five reminders, each
{ minutesBefore, action? }.Up to 5 itemsminutesBeforeintegerRequired- At least 0At most 40320
actionstring- One of
"DISPLAY""EMAIL""AUDIO"
transparencystringOPAQUEshows you busy andTRANSPARENTfree.One of"OPAQUE""TRANSPARENT"visibilitystringPUBLIC,PRIVATEorCONFIDENTIAL.One of"PUBLIC""PRIVATE""CONFIDENTIAL"sendInvitesbooleanFalse keeps the change to your own calendar, and sends nothing.
fromstringThe address the invitations come from. It has to be one the key may send as.
Up to 320 characterscalendarIdstringThe calendar to put the event in: one you keep, or one you are a member of with write access. Your default calendar unless you say.
1 to 64 characters
Returns
The event, with its attendees.
Errors
- 403
from_address_forbidden: the key or app may not send asfrom.insufficient_scopewhen invitations would go out andemails:sendis missing.calendar_read_only: you are a member ofcalendarIdwith read access.- 404
calendar_not_found: no calendar you keep or are a member of has thatcalendarId.
The errors every operation can return400401422429500Error catalog
Also available in
GET/calendar/events/{id}
Retrieve an event
The event with its attendees and their responses. rawIcs is omitted. Everything understood in it is already structured here, and /ics serves the document.
Requires the calendar:read scope.
Path parameters
idstringRequiredEvent id, the
eventIdof an occurrence, such ascal_followed by 24 hex characters.
Returns
The event.
Errors
The errors every operation can return400401403404422429500Error catalog
Also available in
PATCH/calendar/events/{id}
Change an event
Changes an event you organise. A field left out keeps its value, and attendees replaces the whole list. Everyone invited gets the updated invitation. calendarId moves the event, with every date of a repeating one, to another calendar, and a move on its own tells nobody.
For a repeating event, scope says which dates change, as the app asks when you edit one date: occurrence changes only the date that starts at occurrenceStart, following that date and every one after it (they become a new series, and the old one ends the day before), and series all of them, with a new start or end moving every date by the same amount.
With attendees, an invitation goes to each of them from the address in from, which has to be one the key or app may send as, so the call also needs emails:send. sendInvites: false keeps the change to your own calendar.
Requires the calendar:write scope.
Path parameters
idstringRequiredThe event id from
GET /calendar/events.
Request body
summarystringThe title, 1 to 255 characters.
1 to 255 charactersdescriptionstringNotes about the event, up to 8,000 characters.
Up to 8000 characterslocationstringWhere it is: a room, an address or a link.
Up to 255 charactersurlstringA link that belongs to the event.
Up to 2000 charactersFormaturimeetingUrlstringA link to the video call, such as a Zoom, Meet or Teams address. It goes into the invitation, so guests see a Join button in their calendar too. Send an empty string to take it off.
Up to 2000 charactersstartstringWhen it starts, a
Dateor ISO 8601 with a zone.Formatdate-timeendstringWhen it ends, after
startand at most two years later.Formatdate-timeallDaybooleanWhether it fills whole days.
startandendthen mark the days.timezonestringThe IANA zone the event belongs to,
UTCunless you say.1 to 64 charactersrecurrencestringAn RRULE such as
FREQ=WEEKLY;BYDAY=MOwhen it repeats.Up to 512 charactersattendeesobject[]Up to 200 people to invite, each
{ email, name?, optional? }. It replaces the whole list.Up to 200 itemsemailstringRequired- Up to 320 charactersFormat
email namestring- Up to 128 characters
optionalboolean
remindersobject[]Up to five reminders, each
{ minutesBefore, action? }.Up to 5 itemsminutesBeforeintegerRequired- At least 0At most 40320
actionstring- One of
"DISPLAY""EMAIL""AUDIO"
transparencystringOPAQUEshows you busy andTRANSPARENTfree.One of"OPAQUE""TRANSPARENT"visibilitystringPUBLIC,PRIVATEorCONFIDENTIAL.One of"PUBLIC""PRIVATE""CONFIDENTIAL"sendInvitesbooleanFalse keeps the change to your own calendar, and sends nothing.
fromstringThe address the invitations come from. It has to be one the key may send as.
Up to 320 characterscalendarIdstringMoves the event, with every date of a repeating one, to this calendar: one you keep, or one you are a member of with write access.
1 to 64 charactersscopestringWhich dates the change reaches when the event repeats:
occurrencefor the one date inoccurrenceStart,followingfor that date and every one after it, orseriesfor all of them. Left out, the change reaches the event or date the id names.One of"occurrence""following""series"occurrenceStartstringThe start of the date you mean, as it appears in the list of events. Needed with
occurrenceandfollowing.Formatdate-time
Returns
The event as it stands now.
Errors
- 403
not_organizer: the event was organised by somebody else, so you can only answer it.from_address_forbidden: the key or app may not send asfrom.calendar_read_only: you may not move the event out of its calendar, or intocalendarId.- 404
calendar_not_found: no calendar you keep or are a member of has thatcalendarId.- 409
event_cancelled: the meeting was called off.
The errors every operation can return400401422429500Error catalog
Also available in
DELETE/calendar/events/{id}
Remove an event
Removes an event from the calendar for good, as Remove does in the app. Nobody else is told: to call off a meeting with others in it, use POST /calendar/events/{id}/cancel. For a repeating event, scope and occurrenceStart remove one date or that date and every one after it.
Requires the calendar:write scope.
Path parameters
idstringRequiredThe event id from
GET /calendar/events.
Query parameters
scopestringWhich dates the change reaches when the event repeats:
occurrencefor the one date inoccurrenceStart,followingfor that date and every one after it, orseriesfor all of them. Left out, the change reaches the event or date the id names.One of"occurrence""following""series"occurrenceStartstringThe start of the date you mean, as it appears in the list of events. Needed with
occurrenceandfollowing.Formatdate-time
Returns
The event is gone.
Errors
- 403
not_organizer: the event was organised by somebody else.
The errors every operation can return400401404422429500Error catalog
Also available in
GET/calendar/events/{id}/ics
The event as an .ics document
Served as text/calendar with NO METHOD parameter. A METHOD makes a document actionable (a client seeing method=REQUEST draws accept/decline and can reply to the organiser), and this endpoint has no authority to invite anybody on the workspace behalf. It states what the event currently is.
Requires the calendar:read scope.
Path parameters
idstringRequiredEvent id, the
eventIdof an occurrence.
Returns
text/calendarAn iCalendar document.
Errors
The errors every operation can return400401403404422429500Error catalog
Also available in
POST/calendar/events/{id}/cancel
Cancel a meeting
Calls off a meeting you organise, as Cancel meeting does in the app. It stays on the calendar with status CANCELLED, and everyone invited is told it is off, from the address in from, so a meeting with attendees also needs emails:send. For a repeating meeting, scope and occurrenceStart call off one date, or that date and every one after it, and guests get the matching update. The body is optional.
Requires the calendar:write scope.
Path parameters
idstringRequiredThe event id from
GET /calendar/events.
Request body
fromstringThe address the cancellation comes from. It has to be one the key may send as.
Up to 320 charactersnotifyGuestsbooleanscopestringWhich dates the change reaches when the event repeats:
occurrencefor the one date inoccurrenceStart,followingfor that date and every one after it, orseriesfor all of them. Left out, the change reaches the event or date the id names.One of"occurrence""following""series"occurrenceStartstringThe start of the date you mean, as it appears in the list of events. Needed with
occurrenceandfollowing.Formatdate-time
Returns
The event, cancelled.
Errors
- 403
not_organizer: the event was organised by somebody else.from_address_forbidden: the key or app may not send asfrom.
The errors every operation can return400401404422429500Error catalog
Also available in
POST/calendar/events/{id}/respond
Answer an invitation
Accepts, declines or tentatively accepts an invitation, as the buttons of an invitation in the app do. The answer goes to the organiser by email from the invited address the key or app may send as, or from respondingAs when the invitation went to more than one of yours. Send proposedStart and proposedEnd together to propose a new time with your answer, as Propose a new time does in the app: the organiser gets a counter-proposal and decides.
Requires the calendar:write and emails:send scopes.
Path parameters
idstringRequiredThe event id from
GET /calendar/events.
Request body
responsestringRequiredACCEPTED,DECLINEDorTENTATIVE.One of"ACCEPTED""DECLINED""TENTATIVE"respondingAsstringWhich of your invited addresses answers, when there is more than one.
Up to 320 charactersproposedStartstringA new start to propose with your answer, sent together with
proposedEnd.Formatdate-timeproposedEndstringThe end of the proposed time.
Formatdate-timenotifyGuestsboolean
Returns
The event, with your answer.
Errors
- 403
not_invited: the event did not inviterespondingAs, or any address the key or app may send as.- 409
event_cancelled: the meeting was called off.reply_not_sent: the answer could not be sent to the organiser, so nothing changed.
The errors every operation can return400401404422429500Error catalog
Also available in
POST/calendar/events/{id}/decline-proposal
Decline a proposed time
Keeps the original time of a meeting you organise after a guest proposed another one, as Decline in the proposal on the event does in the app. The guest is told by email from from, or from the organising address. To take the proposed time instead, change the event with PATCH /calendar/events/{id}.
Requires the calendar:write and emails:send scopes.
Path parameters
idstringRequiredThe event id from
GET /calendar/events.
Request body
attendeestringRequiredThe guest whose proposal you decline, by email address.
Up to 320 charactersFormatemailfromstringThe address the answer is sent from, when it is not the organising address.
Up to 320 characters
Returns
The event, with the proposal cleared.
Errors
- 403
not_organizer: the event was organised by somebody else.event_read_only: the event comes from a calendar you subscribe to.- 404
proposal_not_found: that guest has not proposed a new time.event_not_found: no such event.
The errors every operation can return400401422429500Error catalog
Also available in
POST/calendar/events/{id}/hide
Hide an event from your calendar
Takes an event off your own calendar and leaves it where it is for everyone else, as Hide from my calendar does in the app. Use it for an invitation that reached you through a shared address, or one you may not remove. It stops its reminders for you too. POST /calendar/events/{id}/unhide brings it back.
Requires the calendar:write scope.
Path parameters
idstringRequiredThe event id from
GET /calendar/events.
Returns
The event, hidden for you.
Errors
The errors every operation can return400401403404422429500Error catalog
Also available in
POST/calendar/events/{id}/unhide
Show a hidden event again
Puts an event you hid back on your calendar, as Show on my calendar does on the invitation in the app.
Requires the calendar:write scope.
Path parameters
idstringRequiredThe event id from
GET /calendar/events.
Returns
The event, on your calendar again.
Errors
The errors every operation can return400401403404422429500Error catalog
Also available in
GET/calendar/free-busy
Free and busy times
When the people you name are busy, as Find a time in the event editor of the app shows it. Each address of the workspace shows the busy times of the person who holds it, from their events, the invitations they have not declined, their subscribed calendars and their bookings, without any detail. Add durationMinutes to get suggestions: the first times everyone known is free. A key or app limited to some addresses is refused, since the answer reads whole calendars.
Requires the calendar:read scope.
Query parameters
fromstringRequiredThe start of the window.
Formatdate-timetostringRequiredA free and busy window may span at most 31 days.
Formatdate-timeemailsstringRequiredThe addresses to look up, at most 20. An address of the workspace shows when the person who holds it is busy; any other address comes back with
knownfalse. Separate them with commas.timezonestringIANA zone the suggested times keep to working hours in.
Default"UTC"durationMinutesintegerThe length of the meeting in minutes. With it,
suggestionslists the first times everyone known is free, on weekdays between 09:00 and 17:00 intimezone.At least 5At most 480
Returns
When each person is busy, and the suggested times.
Errors
- 422
capability_unsupported: the key or app is limited to some addresses.invalid_parameter: the window, an address or the duration is not valid.
The errors every operation can return400401403404429500Error catalog
Also available in
GET/calendar/feeds
List calendar links
The secret links that publish your calendar to other calendar apps, as Share in the calendar settings of the app lists them. Anyone with a link can read what it shows, so treat url and webcalUrl like passwords.
Requires the calendar:read scope.
Returns
Your calendar links.
Errors
The errors every operation can return400401403404422429500Error catalog
Also available in
POST/calendar/feeds
Create a calendar link
Makes a secret link that publishes your calendar as an iCalendar feed, for Google Calendar (From URL), Outlook (Subscribe from web) or Apple Calendar (New subscription). full shows every detail, busy only the times you are busy. calendarId publishes one calendar you keep instead of all of them. The calendar app checks the link again on its own schedule, usually every few hours.
Requires the calendar:write scope.
Request body
namestringRequiredThe name calendar apps show for the calendar, up to 100 characters.
1 to 100 charactersmodestringRequiredfullfor every detail,busyfor busy times only.One of"full""busy"calendarIdstringThe calendar the link publishes: one you keep. Every calendar you keep or are a member of, and the events you are invited to, unless you say.
1 to 64 characters
Returns
The new link.
Errors
- 403
calendar_not_owned: you are a member of that calendar, and only its keeper may publish it.- 404
calendar_not_found: no calendar you keep has that id.- 409
calendar_feed_limit: you already keep the most links one person may.
The errors every operation can return400401422429500Error catalog
Also available in
DELETE/calendar/feeds/{id}
Delete a calendar link
Turns a calendar link off for good. Calendar apps that subscribed to it stop getting updates.
Requires the calendar:write scope.
Path parameters
idstringRequiredThe calendar link id.
Returns
The link is gone.
Errors
- 404
calendar_feed_not_found: no link of yours has that id.
The errors every operation can return400401403422429500Error catalog
Also available in
POST/calendar/feeds/{id}/reset
Reset a calendar link
Replaces the secret in a calendar link, so the old address stops working everywhere it was shared. Paste the new address into the calendar apps you still want to update.
Requires the calendar:write scope.
Path parameters
idstringRequiredThe calendar link id.
Returns
The link with its new address.
Errors
- 404
calendar_feed_not_found: no link of yours has that id.
The errors every operation can return400401403422429500Error catalog
Also available in
GET/calendar/subscriptions
List calendar subscriptions
The other calendars you subscribe to by link, such as a Google or Outlook calendar address, a team rota or public holidays, as Other calendars in the app lists them. Their events show on your calendar, read-only.
Requires the calendar:read scope.
Returns
Your subscriptions.
Errors
The errors every operation can return400401403404422429500Error catalog
Also available in
POST/calendar/subscriptions
Subscribe to a calendar
Adds a calendar by its iCalendar link: an https, http or webcal address, such as the secret address of a Google calendar or a published Outlook calendar. It is read at once, then again about every half hour. name defaults to the name the calendar gives itself.
Requires the calendar:write scope.
Request body
urlstringRequiredThe calendar link,
https,httporwebcal.1 to 2048 charactersnamestringThe name to show, up to 100 characters.
1 to 100 characterscolorstringThe colour of its events, from
CALENDAR_COLORS.One of"blue""sky""teal""green""lime""yellow""orange""red""pink""purple""gray"
Returns
The subscription, with its first events read.
Errors
- 409
calendar_subscription_exists: you already subscribe to that address.calendar_subscription_limit: you already subscribe to the most calendars one person may.- 422
calendar_subscription_url_invalid: not a public https, http or webcal link.calendar_subscription_unreadable: nothing at the address read as a calendar.
The errors every operation can return400401403404429500Error catalog
Also available in
PATCH/calendar/subscriptions/{id}
Change a calendar subscription
Renames a subscription or gives it another colour.
Requires the calendar:write scope.
Path parameters
idstringRequiredThe subscription id.
Request body
namestringThe new name, up to 100 characters.
1 to 100 characterscolorstringThe new colour, from
CALENDAR_COLORS.One of"blue""sky""teal""green""lime""yellow""orange""red""pink""purple""gray"
Returns
The subscription as it stands now.
Errors
- 404
calendar_subscription_not_found: no subscription of yours has that id.
The errors every operation can return400401403422429500Error catalog
Also available in
DELETE/calendar/subscriptions/{id}
Unsubscribe from a calendar
Removes a subscription and every event it brought onto your calendar.
Requires the calendar:write scope.
Path parameters
idstringRequiredThe subscription id.
Returns
The subscription is gone.
Errors
- 404
calendar_subscription_not_found: no subscription of yours has that id.
The errors every operation can return400401403422429500Error catalog
Also available in
POST/calendar/subscriptions/{id}/refresh
Refresh a calendar subscription
Reads a subscribed calendar again now instead of waiting for the next half-hourly read, and restarts one that stopped after repeated failures.
Requires the calendar:write scope.
Path parameters
idstringRequiredThe subscription id.
Returns
The subscription after the read.
Errors
- 404
calendar_subscription_not_found: no subscription of yours has that id.- 429
calendar_subscription_refresh_too_soon: it was read moments ago.rate_limited: the workspace's keys and apps together made more requests in 60 seconds than its limit, 1,000 on Starter, 5,000 on Pro and 10,000 on Max, unless the workspace has a limit of its own. Wait for the seconds inRetry-After. A request refused this way is not billed. Answered requests are billed at theapiRequestsrate of the plan while pay as you go is on. Per 1,000,000 requests that is $0.50 on Starter, $0.30 on Pro and $0.20 on Max.
The errors every operation can return400401403422500Error catalog
Also available in
GET/threads/{id}/event
The event a thread carries
The calendar event that came with an invitation in the thread, as the invitation card of the reading pane shows it. A thread with no event, or one the key or app does not reach, is a 404. Answer it with POST /calendar/events/{id}/respond.
Requires the calendar:read scope.
Path parameters
idstringRequiredThe thread id.
Returns
The event.
Errors
The errors every operation can return400401403404422429500Error catalog
Also available in
GET/calendar/calendars
List calendars
Your calendars, as the calendar list beside the Calendar page shows them: the ones you keep first, your default calendar among them, then the ones other members of the workspace gave you access to, each with its own colour and position. A calendar you keep lists its members. Your to-do lists are calendars of kind todos, listed with kind=todos.
A calendar belongs to the person who keeps it. An API key acts for the workspace owner, and an app for the person who connected it. A key or app limited to some addresses cannot manage calendars.
Requires the calendar:read scope.
Query parameters
kindstringeventslists your calendars of events, andtodosyour to-do lists. Calendars of events unless you say.One of"events""todos"Default"events"
Returns
Every calendar you keep or are a member of.
Errors
- 422
capability_unsupported: the key or app is limited to some addresses.
The errors every operation can return400401403404429500Error catalog
Also available in
POST/calendar/calendars
Create a calendar
Makes a new calendar of yours, as New calendar does in the app. Put events in it with calendarId on POST /calendar/events. With kind todos it is a to-do list instead, for POST /calendar/todos. Calendar apps that sync over CalDAV show it as a calendar or a to-do list of its own.
Requires the calendar:write scope.
Request body
namestringRequiredThe name the apps show for the calendar, up to 100 characters.
1 to 100 characterskindstringeventsfor a calendar of events, ortodosfor a to-do list. A calendar of events unless you say.One of"events""todos"colorstringThe colour its events are drawn in: blue, sky, teal, green, lime, yellow, orange, red, pink, purple or gray.
One of"blue""sky""teal""green""lime""yellow""orange""red""pink""purple""gray"descriptionstringWhat the calendar is for, up to 1,000 characters. null clears it.
Can be nullUp to 1000 characters
Returns
The new calendar.
Errors
- 409
calendar_limit: you keep as many calendars as one person may.
The errors every operation can return400401403404422429500Error catalog
Also available in
GET/calendar/calendars/{id}
Get a calendar
One calendar you keep or are a member of.
Requires the calendar:read scope.
Path parameters
idstringRequiredA calendar id,
cln_followed by 24 hex characters, as the list of calendars shows it.
Returns
The calendar.
Errors
- 404
calendar_not_found: no calendar you keep or are a member of has that id.
The errors every operation can return400401403422429500Error catalog
Also available in
PATCH/calendar/calendars/{id}
Change a calendar
Renames a calendar you keep, describes it, gives it another colour, moves it in your list or makes it your default. For a calendar you are a member of, color and position are your own and change only for you, and the rest belongs to its keeper.
Requires the calendar:write scope.
Path parameters
idstringRequiredA calendar id,
cln_followed by 24 hex characters, as the list of calendars shows it.
Request body
namestringThe name the apps show for the calendar, up to 100 characters.
1 to 100 characterscolorstringThe colour its events are drawn in: blue, sky, teal, green, lime, yellow, orange, red, pink, purple or gray.
One of"blue""sky""teal""green""lime""yellow""orange""red""pink""purple""gray"descriptionstringWhat the calendar is for, up to 1,000 characters. null clears it.
Can be nullUp to 1000 characterspositionintegerWhere the calendar sits in your list, from 0 at the top. Your own calendars and the ones you are a member of are ordered apart.
At least 0At most 10000isDefaultbooleantrue makes it your default calendar, where new events and invitations go. A calendar stops being the default only when another one becomes it.
Returns
The calendar as it stands now.
Errors
- 403
calendar_not_owned: you are a member of it, and only its keeper may rename or describe it.- 404
calendar_not_found: no calendar you keep or are a member of has that id.- 409
calendar_is_default: a calendar stops being your default only when another one becomes it.
The errors every operation can return400401422429500Error catalog
Also available in
DELETE/calendar/calendars/{id}
Delete a calendar
Deletes a calendar you keep, as Delete calendar does in the app. Deleting a calendar deletes the events in it. Unless notifyGuests is false, everyone invited to an upcoming meeting you organised in it is sent a cancellation from the address that invited them, as Cancel meeting does. A meeting that came in through a calendar import is cancelled quietly unless notifyGuests is true. Sending those cancellations needs emails:send as well, so a key without it passes notifyGuests=false. Its members lose it, and calendar links that publish it stop working. A to-do list goes with its to-dos and tells nobody. For a calendar you are a member of, you leave it, it stays with its keeper and nobody is told.
Requires the calendar:write scope.
Path parameters
idstringRequiredA calendar id,
cln_followed by 24 hex characters, as the list of calendars shows it.
Query parameters
notifyGuestsstringfalse deletes the calendar without telling anyone. Left out or true, the guests of every upcoming meeting you organised in it are sent a cancellation, and true tells the guests of imported meetings too.
One of"true""false"
Returns
The calendar is gone from your list.
Errors
- 404
calendar_not_found: no calendar you keep or are a member of has that id.- 409
calendar_is_default: your default calendar or to-do list cannot be deleted.
The errors every operation can return400401403422429500Error catalog
Also available in
PUT/calendar/calendars/{id}/members/{memberId}
Set a calendar member
Gives a member of the workspace access to a calendar you keep, or changes what they may do, as Members does in the app. With read they see its events beside their own calendars; with write they also add, change, move and remove them. Events marked private stay out of their view.
Requires the calendar:write scope.
Path parameters
idstringRequiredA calendar id,
cln_followed by 24 hex characters, as the list of calendars shows it.memberIdstringRequiredThe id of a workspace member, as the list of members shows it.
GET /memberslists them.
Request body
accessstringRequiredreadto see it, orwriteto add, change and delete what is in it too.One of"read""write"
Returns
The member and their access.
Errors
- 403
calendar_not_owned: you are a member of that calendar, and only its keeper may change its members.- 404
calendar_not_found: no calendar you keep or are a member of has that id.- 409
calendar_member_limit: the calendar has as many members as it may.- 422
member_not_found: that person is not in this workspace.member_is_keeper: that is you.
The errors every operation can return400401429500Error catalog
Also available in
DELETE/calendar/calendars/{id}/members/{memberId}
Remove a calendar member
Takes away a member’s access to a calendar you keep. Your own member id leaves a calendar you are a member of.
Requires the calendar:write scope.
Path parameters
idstringRequiredA calendar id,
cln_followed by 24 hex characters, as the list of calendars shows it.memberIdstringRequiredThe id of a workspace member, as the list of members shows it.
GET /memberslists them.
Returns
The member no longer reaches the calendar.
Errors
- 403
calendar_not_owned: only its keeper may remove other members.- 404
calendar_not_found: no calendar you keep or are a member of has that id.- 422
member_not_found: that person is not a member of the calendar.
The errors every operation can return400401429500Error catalog
Also available in
GET/calendar/logins
List calendar sign-ins
The calendar sign-ins of one person, newest first, as Calendar and contacts apps in the app lists them. The passwords are never shown again. Leave member out for your own. The workspace owner and anyone whose role manages members may pass a member's user id, which takes members:write instead of the account scope.
A calendar sign-in belongs to a person, not to an address: its username starts with cal- and holds no @, so it is never an address and never takes one, and it signs calendar and contacts apps in over CalDAV and CardDAV to that person's calendars, the calendars and address books other members gave them access to, and their contacts. IMAP, POP3 and SMTP refuse it, and nothing it does sends mail: an event with guests saved through it sends no invitation, and an invitation is answered and a meeting with guests cancelled in the app instead.
Requires the account:read scope, or members:write in its place.
Query parameters
memberstringThe user id of a member, to list theirs.
Returns
Every calendar sign-in the person holds that is not revoked.
Errors
- 403
insufficient_authority: only the owner or someone who manages members may list another member's.- 422
member_not_found: that person is not in this workspace.capability_unsupported: the key or app is limited to some addresses.
The errors every operation can return400401404429500Error catalog
Also available in
POST/calendar/logins
Create a calendar sign-in
Makes a calendar sign-in and shows its password this once, with the server settings and an Apple configuration profile. The key or app must itself hold every one of calendar:read, calendar:write, contacts:read and contacts:write that the person's role holds, since the sign-in carries them. A person holds at most 20. Leave member out for your own. The workspace owner and anyone whose role manages members may pass a member's user id, which takes members:write instead of the account scope. The owner's own sign-ins are made only by the owner. An access token needs a verification code first. It writes an entry in the workspace security log.
A calendar sign-in belongs to a person, not to an address: its username starts with cal- and holds no @, so it is never an address and never takes one, and it signs calendar and contacts apps in over CalDAV and CardDAV to that person's calendars, the calendars and address books other members gave them access to, and their contacts. IMAP, POP3 and SMTP refuse it, and nothing it does sends mail: an event with guests saved through it sends no invitation, and an invitation is answered and a meeting with guests cancelled in the app instead.
Requires the account:write scope, or members:write in its place.
Request body
namestringRequiredWhat to call it, such as the device it is for, 1 to 64 characters. It is trimmed.
1 to 64 charactersmemberstringThe user id of the member it is for. Leave it out for your own.
1 to 128 characters
Returns
The new sign-in, with its password shown this once.
Errors
- 403
calendar_login_no_reach: the person's role reaches neither the calendar nor contacts.insufficient_authority: the sign-in would carry a permission the caller lacks, or belongs to the owner.step_up_required: an access token needs a verification code first.step_up_required: the call was made with an OAuth access token that has not been verified in the last 60 minutes. Ask for a code withPOST /security/step-up, send it toPOST /security/step-up/verify, then repeat the call. The person can also choose Allow changes for 60 minutes on the app in Account settings, Connected apps, on the Nextmail website. An API key is never asked for a code.- 422
calendar_login_limit_reached: the person holds as many as one person may.member_not_found: that person is not in this workspace.capability_unsupported: the key or app is limited to some addresses.
The errors every operation can return400401404429500Error catalog
Also available in
DELETE/calendar/logins/{id}
Revoke a calendar sign-in
Revokes one calendar sign-in, so the calendar and contacts apps using it are signed out within minutes. The calendars and contacts stay. Yours takes account:write, and another member's takes members:write, held by the owner or someone who manages members. It writes an entry in the workspace security log.
Requires the account:write scope, or members:write in its place.
Path parameters
idstringRequiredThe sign-in id.
Returns
The sign-in no longer works.
Errors
- 404
calendar_login_not_found: no sign-in you may manage has that id.- 422
capability_unsupported: the key or app is limited to some addresses.
The errors every operation can return400401403429500Error catalog
Also available in
POST/calendar/logins/profile-link
Make a calendar sign-in link for an Apple device
Makes a one-time link that sets calendars and contacts up on an iPhone, iPad or Mac. Opened on the device, it downloads an Apple configuration profile with a new calendar sign-in inside, and only CalDAV and CardDAV in it, never mail. The link works once and expires within minutes, so treat it as a secret until it is used. It takes what creating a sign-in takes. Leave member out for your own. The workspace owner and anyone whose role manages members may pass a member's user id, which takes members:write instead of the account scope.
Requires the account:write scope, or members:write in its place.
Request body
namestringRequiredWhat to call the sign-in it makes, such as the device it is for, 1 to 64 characters.
1 to 64 charactersdisplayNamestringRequiredThe name the device shows for the profile, 1 to 160 characters.
1 to 160 charactersdescriptionstringRequiredThe line the device shows under that name, 1 to 160 characters.
1 to 160 charactersmemberstringThe user id of the member it is for. Leave it out for your own.
1 to 128 characters
Returns
The link, which works once.
Errors
- 403
calendar_login_no_reach: the person's role reaches neither the calendar nor contacts.insufficient_authority: the sign-in would carry a permission the caller lacks, or belongs to the owner.step_up_required: an access token needs a verification code first.step_up_required: the call was made with an OAuth access token that has not been verified in the last 60 minutes. Ask for a code withPOST /security/step-up, send it toPOST /security/step-up/verify, then repeat the call. The person can also choose Allow changes for 60 minutes on the app in Account settings, Connected apps, on the Nextmail website. An API key is never asked for a code.- 422
calendar_login_limit_reached: the person holds as many as one person may.member_not_found: that person is not in this workspace.capability_unsupported: the key or app is limited to some addresses.- 429
profile_link_rate_limited: you made as many of these links in the last hour as you may.rate_limited: the workspace's keys and apps together made more requests in 60 seconds than its limit, 1,000 on Starter, 5,000 on Pro and 10,000 on Max, unless the workspace has a limit of its own. Wait for the seconds inRetry-After. A request refused this way is not billed. Answered requests are billed at theapiRequestsrate of the plan while pay as you go is on. Per 1,000,000 requests that is $0.50 on Starter, $0.30 on Pro and $0.20 on Max.
The errors every operation can return400401404500Error catalog
Also available in
- TypeScript
calendar.createCalendarLoginProfileLink()- Python
calendar.create_calendar_login_profile_link()- Ruby
calendar.create_calendar_login_profile_link- PHP
calendar->createCalendarLoginProfileLink- Go
Calendar.CreateCalendarLoginProfileLink- Java
calendar().createCalendarLoginProfileLink- C#
Calendar.CreateCalendarLoginProfileLinkAsync- MCP
createCalendarLoginProfileLink
GET/calendar/todos
List to-dos
The to-dos in your to-do lists and the ones other members of the workspace gave you access to, as the To-dos view of the Calendar page shows them. A to-do list is a calendar of kind todos: GET /calendar/calendars?kind=todos lists them. Open to-dos come soonest due first, with the ones without a due date last. Done ones come most recently done first, and all lists the newest first. Paging is keyset: pass nextCursor back as cursor while hasMore is true.
A to-do list belongs to the person who keeps it. An API key acts for the workspace owner, and an app for the person who connected it. A key or app limited to some addresses cannot reach to-dos.
Requires the calendar:read scope.
Query parameters
calendarIdsstringOnly the to-dos in these to-do lists, as ids separated by commas. Every to-do list you keep or are a member of unless you say.
statestringopenfor to-dos still to do,donefor completed and cancelled ones, orall. Open ones unless you say.One of"open""done""all"Default"open"dueBeforestringOnly to-dos due before this moment, as an ISO 8601 date-time with an offset.
Formatdate-timedueAfterstringOnly to-dos due at or after this moment, as an ISO 8601 date-time with an offset.
Formatdate-timelimitintegerTo-dos per page, 1 to 500.
At least 1At most 500Default100cursorstringThe
nextCursorfrom the previous page. One that names no to-do in these lists is a 400invalid_cursor.
Returns
One page of to-dos.
Errors
- 404
calendar_not_found: one ofcalendarIdsis no to-do list you keep or are a member of.- 422
calendar_wrong_kind: one ofcalendarIdsis a calendar of events.capability_unsupported: the key or app is limited to some addresses.
The errors every operation can return400401403429500Error catalog
Also available in
- TypeScript
calendar.listTodos()calendar.listAllTodos()calendar.iterateTodos()- Python
calendar.list_todos()calendar.list_all_todos()calendar.iterate_todos()- Ruby
calendar.list_todoscalendar.list_all_todoscalendar.iterate_todos- PHP
calendar->listTodoscalendar->listAllTodoscalendar->iterateTodos- Go
Calendar.ListTodosCalendar.ListAllTodosCalendar.IterateTodos- Java
calendar().listTodoscalendar().listAllTodoscalendar().iterateTodos- C#
Calendar.ListTodosAsyncCalendar.ListAllTodosAsyncCalendar.IterateTodosAsync- MCP
listTodos
POST/calendar/todos
Create a to-do
Adds a to-do to a to-do list, as the quick add box of the To-dos view does in the app. Calendar apps that sync the list over CalDAV, such as Reminders, Thunderbird and tasks.org, show it on their next sync.
Requires the calendar:write scope.
Request body
titlestringRequiredWhat has to be done, 1 to 500 characters.
1 to 500 characterscalendarIdstringThe to-do list to put it in: one you keep, or one you are a member of with write access. Your default to-do list unless you say.
1 to 64 charactersnotesstringNotes on the to-do, up to 8,000 characters. null clears them.
Can be nullUp to 8000 charactersstatusstringNEEDS-ACTIONwhile it is open,IN-PROCESSonce it is started,COMPLETEDwhen it is done andCANCELLEDwhen it will not be done. Completing a repeating to-do moves it to its next date and keeps it open.One of"NEEDS-ACTION""IN-PROCESS""COMPLETED""CANCELLED"startstringWhen work on it can start, in the same form as
due: both are days, or both are moments. null clears it.Can be nullduestringWhen it is due: a day as
YYYY-MM-DD, or a moment as an ISO 8601 date-time with an offset. null clears it.Can be nulltimezonestringThe IANA time zone a
dueorstartmoment is written in for calendar apps, such asEurope/Berlin. UTC unless you say. null clears it.Can be null1 to 64 characterspriorityintegerFrom 1, the most urgent, to 9, the least. 0 means none. Apps show 1 to 4 as high, 5 as medium and 6 to 9 as low.
At least 0At most 9percentCompleteintegerHow far along it is, from 0 to 100. null clears it.
Can be nullAt least 0At most 100categoriesstring[]Labels for the to-do, up to 20 of up to 64 characters each, as calendar apps show its categories.
Up to 20 itemsparentIdstringMakes it a step of another to-do in the same list, by that to-do id. null makes it stand on its own again.
Can be null1 to 64 charactersrecurrencestringAn RRULE, such as
FREQ=WEEKLY;BYDAY=MO, that makes it repeat from its start or due date. null stops it repeating.Can be nullUp to 512 characters
Returns
The new to-do.
Errors
- 400
invalid_time:startanddueare not both days or both moments, or it is due before it starts.- 403
calendar_read_only: you are a member of that list with read access.- 404
calendar_not_found: no to-do list you keep or are a member of has that id.- 409
todo_limit: the list holds as many to-dos as it may.- 422
calendar_wrong_kind: that calendar holds events.todo_parent_invalid:parentIdnames no to-do in the same list.
The errors every operation can return401429500Error catalog
Also available in
GET/calendar/todos/{id}
Get a to-do
One to-do in a to-do list you keep or are a member of.
Requires the calendar:read scope.
Path parameters
idstringRequiredA to-do id,
tdo_followed by 24 hex characters.
Returns
The to-do.
Errors
- 404
todo_not_found: no to-do in a list you keep or are a member of has that id.
The errors every operation can return400401403422429500Error catalog
Also available in
- TypeScript
calendar.getTodo()- Python
calendar.get_todo()- Ruby
calendar.get_todo- PHP
calendar->getTodo- Go
Calendar.GetTodo- Java
calendar().getTodo- C#
Calendar.GetTodoAsync- MCP
listTodos
PATCH/calendar/todos/{id}
Change a to-do
Changes a to-do, checks it off or opens it again, as the To-dos view does in the app. Setting status to COMPLETED stamps completedAt, and on a repeating to-do it moves the to-do to its next date and keeps it open instead. calendarId moves it, with its steps, to another to-do list. Send only the fields that change.
Requires the calendar:write scope.
Path parameters
idstringRequiredA to-do id,
tdo_followed by 24 hex characters.
Request body
titlestringWhat has to be done, 1 to 500 characters.
1 to 500 characterscalendarIdstringMoves the to-do, with its steps, to this to-do list: one you keep, or one you are a member of with write access.
1 to 64 charactersnotesstringNotes on the to-do, up to 8,000 characters. null clears them.
Can be nullUp to 8000 charactersstatusstringNEEDS-ACTIONwhile it is open,IN-PROCESSonce it is started,COMPLETEDwhen it is done andCANCELLEDwhen it will not be done. Completing a repeating to-do moves it to its next date and keeps it open.One of"NEEDS-ACTION""IN-PROCESS""COMPLETED""CANCELLED"startstringWhen work on it can start, in the same form as
due: both are days, or both are moments. null clears it.Can be nullduestringWhen it is due: a day as
YYYY-MM-DD, or a moment as an ISO 8601 date-time with an offset. null clears it.Can be nulltimezonestringThe IANA time zone a
dueorstartmoment is written in for calendar apps, such asEurope/Berlin. UTC unless you say. null clears it.Can be null1 to 64 characterspriorityintegerFrom 1, the most urgent, to 9, the least. 0 means none. Apps show 1 to 4 as high, 5 as medium and 6 to 9 as low.
At least 0At most 9percentCompleteintegerHow far along it is, from 0 to 100. null clears it.
Can be nullAt least 0At most 100categoriesstring[]Labels for the to-do, up to 20 of up to 64 characters each, as calendar apps show its categories.
Up to 20 itemsparentIdstringMakes it a step of another to-do in the same list, by that to-do id. null makes it stand on its own again.
Can be null1 to 64 charactersrecurrencestringAn RRULE, such as
FREQ=WEEKLY;BYDAY=MO, that makes it repeat from its start or due date. null stops it repeating.Can be nullUp to 512 characters
Returns
The to-do as it stands now.
Errors
- 400
invalid_time:startanddueare not both days or both moments, or it is due before it starts.- 403
calendar_read_only: you are a member of its list, or of the list it moves to, with read access.- 404
todo_not_found: no to-do in a list you keep or are a member of has that id.- 409
todo_limit: the list it moves to holds as many to-dos as it may.- 422
calendar_wrong_kind:calendarIdis a calendar of events.todo_parent_invalid:parentIdnames no to-do in the same list, or one of its own steps.
The errors every operation can return401429500Error catalog
Also available in
DELETE/calendar/todos/{id}
Delete a to-do
Deletes a to-do. Deleting a to-do deletes its steps too, and calendar apps that sync the list drop them on their next sync.
Requires the calendar:write scope.
Path parameters
idstringRequiredA to-do id,
tdo_followed by 24 hex characters.
Returns
The to-do and its steps are gone.
Errors
- 403
calendar_read_only: you are a member of its list with read access.- 404
todo_not_found: no to-do in a list you keep or are a member of has that id.
The errors every operation can return400401422429500Error catalog
Also available in
GET/calendar/imports
List calendar imports
The calendar files and calendars brought in, newest first, each with what it added and what it left out. Paging is keyset: pass nextCursor back as cursor while hasMore is true.
Requires the calendar:read scope.
Query parameters
limitintegerRows per page, 1 to 100.
At least 1At most 100Default25cursorstringThe previous page's
nextCursor, passed back as it came. It is opaque: it holds where the last row sat in this list's order, so a row deleted or edited between pages never breaks the walk, and the next page starts at the first row that sorts after it. A value this list did not hand out is a 400invalid_cursor.
Returns
One page of calendar imports.
Errors
The errors every operation can return400401403404422429500Error catalog
Also available in
- TypeScript
calendar.listImports()calendar.listAllImports()calendar.iterateImports()- Python
calendar.list_imports()calendar.list_all_imports()calendar.iterate_imports()- Ruby
calendar.list_importscalendar.list_all_importscalendar.iterate_imports- PHP
calendar->listImportscalendar->listAllImportscalendar->iterateImports- Go
Calendar.ListImportsCalendar.ListAllImportsCalendar.IterateImports- Java
calendar().listImportscalendar().listAllImportscalendar().iterateImports- C#
Calendar.ListImportsAsyncCalendar.ListAllImportsAsyncCalendar.IterateImportsAsync- MCP
listCalendarImports
POST/calendar/imports
Import a calendar file
Takes an iCalendar (.ics) file as the request body and queues it. Its events become events of your own that you can edit, and nobody on them is sent anything, now or when you change them later, unless you ask for that on the change. Poll GET /calendar/imports/{id} until status is completed.
The file may be 10 MB and hold 25,000 events. Several calendars in one file are merged, and the report keeps their names. An event whose UID is already in the workspace is skipped and counted, never overwritten, so sending the same file twice adds nothing.
Requires the calendar:write scope.
Query parameters
filenamestringThe name to show for the file in the list of imports.
Up to 255 characterscalendarIdstringThe calendar the imported events go into: one you keep, or one you are a member of with write access. Your default calendar unless you say.
Request body
Content typetext/calendar, application/octet-stream
Returns
The import, with status queued.
Errors
- 400
not_a_calendar_file: the body is not an iCalendar file.item_import_empty: the body is empty.too_many_events: the file holds more than 25,000 events.- 403
calendar_read_only: you are a member ofcalendarIdwith read access.- 404
calendar_not_found: no calendar you keep or are a member of has thatcalendarId.- 413
item_import_too_large: the file is over 10 MB.
The errors every operation can return401422429500Error catalog
Also available in
GET/calendar/imports/{id}
Get a calendar import
One calendar import with its counts and its report: the calendars it read, how many events it left out and why, and up to 20 of the events it left out.
Requires the calendar:read scope.
Path parameters
idstringRequiredCalendar import id,
iimp_followed by 24 hex characters.
Returns
The import.
Errors
- 404
item_import_not_found: no such import.
The errors every operation can return400401403422429500Error catalog
Also available in
POST/calendar/imports/{id}/undo
Remove what a calendar import added
Deletes every event the import added, changed since or not, and marks the import undone. Nobody is told. Events that were skipped because they were already here are not touched.
Requires the calendar:write scope.
Path parameters
idstringRequiredCalendar import id,
iimp_followed by 24 hex characters.
Returns
The import, with status undone.
Errors
- 404
item_import_not_found: no such import.- 409
item_import_not_undoable: it is still running or was already removed.
The errors every operation can return400401403422429500Error catalog
Also available in
Objects
Calendarobject
objectstringRequired- One of
"calendar" idstringRequiredThe calendar id,
cln_followed by 24 hex characters.kindstringRequiredWhat the calendar holds:
events, ortodosfor a to-do list.One of"events""todos"namestringRequiredcolorstringRequiredThe colour its events are drawn in, your own for a calendar you are a member of.
One of"blue""sky""teal""green""lime""yellow""orange""red""pink""purple""gray"descriptionstringRequired- Can be null
isDefaultbooleanRequiredWhether it is your default calendar, where new events and invitations go.
positionintegerRequiredIts place in your list, from 0. Calendars you keep and the ones you are a member of are ordered apart.
At least 0accessstringRequiredWhat you may do with the calendar:
ownerwhen you keep it, otherwisereadorwriteas its keeper gave you.One of"owner""write""read"ownerobjectRequiredThe person who keeps it.
idstringRequiredThe member id.
namestringRequired- Can be null
emailstringRequired
membersCalendarMember[]RequiredWho else may reach it, on a calendar you keep. null on one you are a member of.
Can be nullcreatedAtstringRequired- Format
date-time updatedAtstringRequired- Format
date-time
CalendarEventobject
objectstringRequired- One of
"calendar_event" idstringRequireduidstringRequiredThe iCalendar UID every copy of the event shares.
sequenceinteger- At least 0
summarystring- Can be null
descriptionstring- Can be null
locationstring- Can be null
urlstring- Can be null
meetingUrlstringThe link to the video call, which the apps show as a Join button.
Can be nullstartstringRequired- Format
date-time endstringRequired- Format
date-time allDaybooleantimezonestring- Can be null
recurrencestringThe RRULE, when it repeats.
Can be nullexdatesstring[]Occurrences left out: an instant, or a date for an all-day event.
rdatesstring[]Extra occurrences outside the rule: an instant, or a date for an all-day event.
recurrenceIdstringFor one changed occurrence of a repeating event, the start it replaces.
Can be nullFormatdate-timesubscriptionIdstringThe calendar subscription it comes from, or null for your own calendar.
Can be nullcalendarIdstringThe calendar it is in, as
GET /calendar/calendarslists them. null for an event from a subscription.Can be nullstatusstringRequiredCONFIRMED,TENTATIVEorCANCELLED.transparencystringvisibilitystringorganizerobject- Can be null
emailstringnamestring- Can be null
isOrganizerbooleanWhether you organise it, and so may change it.
hiddenbooleanWhether you hid it from your own calendar with
POST /calendar/events/{id}/hide. OnlyGET /calendar/events/{id}says.sourcestringmessageIdstring- Can be null
threadIdstring- Can be null
alarmsobject[]minutesBeforeintegeractionstring
attendeesobject[]Requiredobjectstring- One of
"calendar_attendee" emailstringnamestring- Can be null
partstatstringNEEDS-ACTION,ACCEPTED,DECLINEDorTENTATIVE.rolestringrsvpbooleancutypestring- Can be null
respondedAtstring- Can be nullFormat
date-time proposedStartstringThe start this guest proposed instead, until the organiser answers.
Can be nullFormatdate-timeproposedEndstring- Can be nullFormat
date-time
createdAtstring- Format
date-time updatedAtstring- Format
date-time
CalendarEventHiddenobject
objectstringRequired- One of
"calendar_event" idstringRequireduidstringRequiredThe iCalendar UID. Hiding reaches every date of it.
hiddenbooleanRequired
CalendarFeedobject
objectstringRequired- One of
"calendar_feed" idstringRequirednamestringRequiredThe name calendar apps show for the calendar.
modestringRequiredfullshows every detail,busyonly when you are busy.One of"full""busy"calendarIdstringRequiredThe one calendar it publishes, or null when it publishes every calendar you keep or are a member of, with the events you are invited to.
Can be nullurlstringRequiredThe https address to paste into a calendar app.
webcalUrlstringRequiredThe same address as a webcal link, which opens a calendar app.
readCountintegerRequiredRoughly how often calendar apps have read it.
At least 0lastReadAtstringRequired- Can be nullFormat
date-time createdAtstringRequired- Format
date-time
CalendarFeedListobject
objectstring- One of
"list" dataCalendarFeed[]
CalendarFreeBusyobject
objectstringRequired- One of
"calendar_free_busy" fromstringRequired- Format
date-time tostringRequired- Format
date-time timezonestringRequiredpeopleobject[]RequiredemailstringRequiredknownbooleanRequiredWhether the address belongs to the workspace, so its times are known.
busyobject[]RequiredstartstringRequired- Format
date-time endstringRequired- Format
date-time
suggestionsobject[]RequiredTimes everyone known is free, when
durationMinuteswas sent.startstringRequired- Format
date-time endstringRequired- Format
date-time
CalendarImportobject
objectstringRequired- One of
"calendar_import" idstringRequirediimp_followed by 24 hex characters.kindstringRequired- One of
"calendar" sourcestringRequiredfileis an upload. The others came with a mailbox import:takeoutfrom a Google Takeout archive,caldavandcarddavfrom the old provider,microsoftfrom an Outlook sign-in.One of"file""takeout""caldav""carddav""microsoft"statusstringRequiredundonemeans what it brought in was removed again.One of"uploading""queued""running""completed""failed""cancelled""undone"fileNamestringRequired- Can be null
fileBytesintegerRequired- At least 0
parentImportIdstringRequiredThe mailbox import it came with, when there was one.
Can be nullcountsobjectRequiredtotalintegerRequiredItems found so far.
At least 0importedintegerRequiredItems added.
At least 0mergedintegerRequiredContacts left as they were because the address book already holds them. Always 0 on a calendar import, where an event that is already here is counted under
skipped.At least 0skippedintegerRequiredItems left out for a reason given in
report.At least 0failedintegerRequired- At least 0
reportobjectRequiredcollectionsobject[]RequiredThe calendars or address books the items came from, by their original name.
namestringRequireditemsintegerRequired- At least 0
skippedRecord<string, integer>RequiredHow many items were left out, by reason.
samplesobject[]RequiredUp to 20 of the items left out.
namestringRequiredreasonstringRequired- One of
"uid-taken""no-start""duplicate""limit""invalid""empty"
lastErrorstringRequired- Can be null
undoablebooleanRequiredWhether the undo call would remove anything.
createdAtstringRequired- Format
date-time startedAtstringRequired- Can be nullFormat
date-time finishedAtstringRequired- Can be nullFormat
date-time undoneAtstringRequired- Can be nullFormat
date-time calendarIdstringRequiredThe calendar the events go into, or null for your default calendar.
Can be null
CalendarImportListobject
objectstring- One of
"list" dataCalendarImport[]hasMorebooleanTrue when another page follows. Pass
nextCursorback ascursorto read it.nextCursorstringAn opaque cursor for the next page, or null on the last page. Pass it back unchanged.
Can be null
CalendarListobject
objectstring- One of
"list" dataCalendar[]
CalendarLoginobject
objectstringRequired- One of
"calendar_login" idstringRequiredThe sign-in id, which is also its CalDAV and CardDAV principal.
namestringRequiredWhat it is called, such as the device it is for.
usernamestringRequiredThe username a calendar or contacts app signs in with:
cal-and ten letters and digits, never an address.last4stringRequiredThe last four letters of the password.
memberobjectRequiredThe person it signs in as.
idstringRequiredThe user id.
namestringRequiredemailstringRequired
createdByobjectRequiredWho made it, when that is known.
Can be nullidstringRequiredThe user id.
namestringRequiredemailstringRequired
createdAtstringRequired- Format
date-time lastUsedAtstringRequired- Can be nullFormat
date-time lastUsedProtocolstringRequiredWhat it last signed in to.
Can be nullOne of"caldav""carddav"lastUsedClientstringRequiredThe app, when it named itself.
Can be null
CalendarLoginListobject
objectstring- One of
"list" dataCalendarLogin[]
CalendarLoginProfileLinkobject
objectstringRequired- One of
"calendar_login_profile_link" urlstringRequiredOpen it on the device. It works once.
expiresAtstringRequired- Format
date-time memberobjectRequiredThe person the sign-in it makes will belong to.
idstringRequiredThe user id.
namestringRequiredemailstringRequired
CalendarLoginServersobject
usernamestringRequiredThe username to enter in the app.
caldavobjectRequiredA CalDAV or CardDAV server, for Apple Calendar and Contacts, Thunderbird, DAVx5 on Android and other calendar and contacts apps. They sign in with the same username and an app password. CardDAV is left out of the servers that come with a password made by a setup link, because such a password cannot reach contacts.
Can be nullurlstringThe server address to enter in the app.
principalUrlstringThe account address on the server, for apps that ask for a principal URL instead of finding it.
hoststringportintegersecuritystringAlways
ssl-tls: the server answers only over HTTPS.One of"ssl-tls"
carddavobjectRequiredA CalDAV or CardDAV server, for Apple Calendar and Contacts, Thunderbird, DAVx5 on Android and other calendar and contacts apps. They sign in with the same username and an app password. CardDAV is left out of the servers that come with a password made by a setup link, because such a password cannot reach contacts.
Can be nullurlstringThe server address to enter in the app.
principalUrlstringThe account address on the server, for apps that ask for a principal URL instead of finding it.
hoststringportintegersecuritystringAlways
ssl-tls: the server answers only over HTTPS.One of"ssl-tls"
CalendarMemberobject
objectstringRequired- One of
"calendar_member" calendarIdstringRequiredmemberIdstringRequiredThe member id of the person with access.
namestringRequired- Can be null
emailstringRequiredaccessstringRequiredreadsees it,writealso adds, changes and deletes what is in it.One of"read""write"createdAtstringRequired- Format
date-time updatedAtstringRequired- Format
date-time
CalendarOccurrenceobject
objectstringRequired- One of
"calendar_occurrence" eventIdstringRequireduidstringRequiredThe iCalendar UID every copy of the event shares.
startstringRequired- Format
date-time endstringRequired- Format
date-time allDaybooleanRequiredsummarystringRequired- Can be null
locationstringRequired- Can be null
meetingUrlstringThe link to the video call, when it has one.
Can be nullstatusstringRequiredCONFIRMED,TENTATIVEorCANCELLED.transparencystringRequiredisOrganizerbooleanRequiredWhether you organise it, and so may change it.
organizerEmailstringRequired- Can be null
recurringbooleanRequiredWhether this is one occurrence of a repeating event.
myPartstatstringRequiredYour answer to the invitation, when you were invited.
Can be nullattendeeCountintegerRequired- At least 0
subscriptionIdstringThe calendar subscription it comes from, or null for your own calendar.
Can be nullcalendarIdstringThe calendar it is in, as
GET /calendar/calendarslists them. null for a subscription.Can be null
CalendarOccurrenceListobject
objectstring- One of
"list" hasMorebooleanTrue when another page follows. Pass
nextCursorback ascursorto read it.nextCursorstringAn opaque cursor for the next page, or null on the last page. Pass it back unchanged.
Can be null
CalendarSubscriptionobject
objectstringRequired- One of
"calendar_subscription" idstringRequirednamestringRequiredurlstringRequiredThe https address it is read from.
colorstringRequired- One of
"blue""sky""teal""green""lime""yellow""orange""red""pink""purple""gray" statusstringRequiredactive,failingwhile reads fail and are retried, orstoppedafter ten failures in a row until you refresh it.One of"active""failing""stopped"lastErrorstringRequiredWhy the last read failed, if it did.
Can be nullOne of"unreachable""too-large""not-a-calendar""too-many-events"eventCountintegerRequired- At least 0
lastSyncedAtstringRequired- Can be nullFormat
date-time lastFetchedAtstringRequired- Can be nullFormat
date-time createdAtstringRequired- Format
date-time
CalendarSubscriptionListobject
objectstring- One of
"list"
CreatedCalendarLoginobject
objectstringRequired- One of
"calendar_login" idstringRequiredThe sign-in id, which is also its CalDAV and CardDAV principal.
namestringRequiredWhat it is called, such as the device it is for.
usernamestringRequiredThe username a calendar or contacts app signs in with:
cal-and ten letters and digits, never an address.last4stringRequiredThe last four letters of the password.
memberobjectRequiredThe person it signs in as.
idstringRequiredThe user id.
namestringRequiredemailstringRequired
createdByobjectRequiredWho made it, when that is known.
Can be nullidstringRequiredThe user id.
namestringRequiredemailstringRequired
createdAtstringRequired- Format
date-time lastUsedAtstringRequired- Can be nullFormat
date-time lastUsedProtocolstringRequiredWhat it last signed in to.
Can be nullOne of"caldav""carddav"lastUsedClientstringRequiredThe app, when it named itself.
Can be nullpasswordstringRequiredThe password, shown this once. Spaces and dashes are optional when typed.
serversCalendarLoginServersRequiredappleProfilestringRequiredAn Apple configuration profile (
.mobileconfigXML) with the password inside. Opened on an iPhone, iPad or Mac, it adds the calendars to Calendar and the contacts to Contacts in one step, and adds no mail account. It holds the password, so treat it like one.
DeletedCalendarobject
objectstringRequired- One of
"calendar" idstringRequireddeletedbooleanRequired- One of
true cancelledMeetingsintegerRequiredHow many upcoming meetings you organised in it had their guests sent a cancellation.
At least 0
DeletedCalendarEventobject
objectstringRequired- One of
"calendar_event" idstringRequireddeletedbooleanRequired- One of
true
DeletedCalendarFeedobject
objectstringRequired- One of
"calendar_feed" idstringRequireddeletedbooleanRequired- One of
true
DeletedCalendarLoginobject
objectstringRequired- One of
"calendar_login" idstringRequireddeletedbooleanRequired- One of
true
DeletedCalendarMemberobject
objectstringRequired- One of
"calendar_member" calendarIdstringRequiredmemberIdstringRequireddeletedbooleanRequired- One of
true
DeletedCalendarSubscriptionobject
objectstringRequired- One of
"calendar_subscription" idstringRequireddeletedbooleanRequired- One of
true
DeletedTodoobject
objectstringRequired- One of
"todo" idstringRequireddeletedbooleanRequired- One of
true removedintegerRequiredHow many to-dos went: the one you named and its steps.
At least 1
Todoobject
objectstringRequired- One of
"todo" idstringRequiredThe to-do id,
tdo_followed by 24 hex characters.calendarIdstringRequiredThe to-do list it is in, as
GET /calendar/calendars?kind=todoslists them.uidstringRequiredIts iCalendar UID, the same one calendar apps keep.
titlestringRequirednotesstringRequired- Can be null
statusstringRequiredWhere it stands, as RFC 5545 names it.
One of"NEEDS-ACTION""IN-PROCESS""COMPLETED""CANCELLED"startstringRequiredWhen work on it can start:
YYYY-MM-DDwhenallDayis true, otherwise an ISO 8601 date-time in UTC. null when it has none.Can be nullduestringRequiredWhen it is due:
YYYY-MM-DDwhenallDayis true, otherwise an ISO 8601 date-time in UTC. null when it has none.Can be nullallDaybooleanRequiredWhether
startanddueare days rather than moments.timezonestringRequiredThe IANA time zone its moments are written in for calendar apps. null for days and for UTC.
Can be nullcompletedAtstringRequiredWhen it was checked off. null while it is open.
Can be nullFormatdate-timepriorityintegerRequired1 is the most urgent and 9 the least. 0 means none.
At least 0At most 9percentCompleteintegerRequired- Can be nullAt least 0At most 100
categoriesstring[]RequiredparentIdstringRequiredThe to-do it is a step of, in the same list. null when it stands on its own.
Can be nullrecurrencestringRequiredThe RRULE it repeats by, from its start or due date. null when it does not repeat.
Can be nullcreatedAtstringRequired- Format
date-time updatedAtstringRequired- Format
date-time
TodoListobject
objectstring- One of
"list" dataTodo[]hasMorebooleanTrue when another page follows. Pass
nextCursorback ascursorto read it.nextCursorstringThe id of the last row on this page, or null on the last page.
Can be null