API reference
Assistant: Calendar
The account holder's away days, calendar desk (working hours, focus time, meeting arrangements, trips), meetings, how the assistant reports back on longer tasks, and the outbox of messages waiting for their send times. Personal: every route needs one of the assistant calendar permissions, which Full access never includes. Nothing here sends anything to other people beyond what the person already approved. 33 endpoints. Add your API key in the authentication panel to send test requests from this page.
List your away periods
/api/external/v1/assistant/awayThe days you are not at work (leave, illness, travel), as you set them and as your calendar's out-of-office shows them.
Answers periods (your periods that have not ended, the first to start first: id, startsOn, endsOn - days YYYY-MM-DD on your own clock, both inclusive - note, source MANUAL when you set it yourself or through this API, KI when your assistant set it on your word, createdAt, updatedAt), calendar (the out-of-office your connected calendar shows for the next 60 days, read only: startsOn, endsOn, title; empty without a connected calendar) and today on your clock.
Away days hold for your own assistant (it plans nothing for you on them unless you ask) and for every team you are in: a team assistant you share your status with reads your away days and their notes.
Parameters
langstringqueryLanguage of the texts and error messages: en, tr, de, es, fr, it, nl or pt. Left out: the account's app language.
Responses
200OK
Add an away period
/api/external/v1/assistant/awayAdds days you are away. Body: startsOn (required, YYYY-MM-DD on your own clock), endsOn (the last day, inclusive; left out: that one day), note (at most 300 characters: your words to your teammates' assistants, e.g. "back on the 12th, ask Mia"). Exactly the days of a period you have already are that period: its note is set and it is answered, so sending it twice adds nothing.
Rules: a period is at most 366 days long, starts at most 730 days ahead and cannot lie wholly in the past; at most 20 periods that have not ended. Written as your own (source MANUAL). Answers 201 with the period.
Errors: 400 BAD_DATES (no start, the last day before the first, all past, too long, too far ahead), 400 TOO_LONG (the note), 409 LIMIT, 409 UNAVAILABLE.
Parameters
langstringqueryLanguage of the texts and error messages: en, tr, de, es, fr, it, nl or pt. Left out: the account's app language.
Request body application/json
object
Responses
200OK
Change an away period
/api/external/v1/assistant/away/{id}Changes one of your away periods. Body, every key optional: startsOn, endsOn (YYYY-MM-DD), note. A key left out keeps its value; a note of null or "" takes the note off. The same rules as adding apply to the days that result; the period's source becomes MANUAL.
Errors: 404 AWAY_PERIOD_NOT_FOUND (no such period of yours), 400 BAD_DATES, 400 TOO_LONG, 409 UNAVAILABLE.
Parameters
idstring (uuid)pathRequiredlangstringqueryLanguage of the texts and error messages: en, tr, de, es, fr, it, nl or pt. Left out: the account's app language.
Request body application/json
object
Responses
200OK
Remove an away period
/api/external/v1/assistant/away/{id}Removes one of your away periods. Answers 204. Your calendar's out-of-office is not touched: it changes only in your calendar.
Errors: 404 AWAY_PERIOD_NOT_FOUND.
Parameters
idstring (uuid)pathRequiredlangstringqueryLanguage of the texts and error messages: en, tr, de, es, fr, it, nl or pt. Left out: the account's app language.
Responses
200OK
Read your calendar desk
/api/external/v1/assistant/calendarWhat the app's Calendar view opens with: settings (whether the desk is available to you, whether your calendarConnected, workingDays, workFrom/workTo as HH:mm, bufferMinutes between meetings, maxMeetingsPerDay, scheduleFrom - the mailbox meeting mails go from, null for your address with the assistant - the mailboxes it may write from, travelPrep), the open meeting arrangements (up to 30), your focusBlocks and your latest trips (up to 10).
While the desk is not available to you (the product switched off, your plan, the assistant hidden from you) everything answers empty with settings.available false.
Parameters
langstringqueryLanguage of the texts and error messages: en, tr, de, es, fr, it, nl or pt. Left out: the account's app language.
Responses
200OK
List your meeting arrangements
/api/external/v1/assistant/calendar/arrangementsThe meetings the desk arranges with others by mail, newest first: each with its purpose, durationMinutes, windowFrom/windowTo, invitees, the times proposed, its status (DRAFT, SENT, COUNTER, AGREED, BOOKED, NEEDS_YOU, DECLINED, CANCELLED, EXPIRED), the replies read so far, the chosen time and the calendarEventId once booked. Read only: arranging, choosing a time and cancelling stay in the app, because they write to the invitees at once.
open=true lists only those still under way. Answers {items}; empty while the desk is not available to you.
Parameters
openbooleanqueryOnly the arrangements still under way.
limitinteger (int32)queryHow many, 1 to 100 (default 30); the desk lists at most its own maximum.
langstringqueryLanguage of the texts and error messages: en, tr, de, es, fr, it, nl or pt. Left out: the account's app language.
Responses
200OK
Read one meeting arrangement
/api/external/v1/assistant/calendar/arrangements/{id}One of your meeting arrangements, as listed.
Errors: 404 ARRANGEMENT_NOT_FOUND (no such arrangement of yours, or the desk is not available to you).
Parameters
idstring (uuid)pathRequiredlangstringqueryLanguage of the texts and error messages: en, tr, de, es, fr, it, nl or pt. Left out: the account's app language.
Responses
200OK
Read one event of your calendar
/api/external/v1/assistant/calendar/eventOne event of the calendar you connected for your assistant, in your time zone, as the assistant reads it: id, title, description, location, start/end (ISO-8601 with offset, or a date for an all-day event), allDay, attendees, link, status, calendar (the account, while you use several), outOfOffice (only when true). Use the ids that meetings, arrangements and trips name. The id goes as a query parameter because some calendars' ids hold slashes.
Errors: 400 MISSING_FIELD (no id), 404 EVENT_NOT_FOUND (no such event, or no calendar connected).
Parameters
idstringqueryThe event's id in your calendar.
langstringqueryLanguage of the texts and error messages: en, tr, de, es, fr, it, nl or pt. Left out: the account's app language.
Responses
200OK
Add a focus block
/api/external/v1/assistant/calendar/focus-blocksProtects time of your week. Body: label (required, at most 120 characters), days (required: a list such as ["MONDAY", "WEDNESDAY"], or one string "MONDAY,WEDNESDAY"), startTime and endTime (required, HH:mm on your clock, from before to), protection (SOFT, the default: offered for meetings last; HARD: never offered), onCalendar (true: the assistant keeps events of its own on your calendar to hold it, for the coming days - nobody is invited, nothing is sent to anyone), enabled (default true). Answers 201 with the block.
Errors: 400 BAD_BLOCK (a field missing or the times not running forward), 400 BAD_VALUE (an unknown protection), 409 TOO_MANY_BLOCKS, 409 UNAVAILABLE.
Parameters
langstringqueryLanguage of the texts and error messages: en, tr, de, es, fr, it, nl or pt. Left out: the account's app language.
Request body application/json
object
Responses
200OK
Replace a focus block
/api/external/v1/assistant/calendar/focus-blocks/{id}Replaces one of your focus blocks whole, with the same body as adding one (a key left out takes its default: protection SOFT, onCalendar false, enabled true). Moving it, switching it off or taking it off the calendar takes its held events away from today on; the past stays on your calendar.
Errors: 404 FOCUS_BLOCK_NOT_FOUND, 400 BAD_BLOCK, 400 BAD_VALUE, 409 UNAVAILABLE.
Parameters
idstring (uuid)pathRequiredlangstringqueryLanguage of the texts and error messages: en, tr, de, es, fr, it, nl or pt. Left out: the account's app language.
Request body application/json
object
Responses
200OK
Remove a focus block
/api/external/v1/assistant/calendar/focus-blocks/{id}Removes one of your focus blocks and its held events from today on. Answers 204.
Errors: 404 FOCUS_BLOCK_NOT_FOUND, 409 UNAVAILABLE.
Parameters
idstring (uuid)pathRequiredlangstringqueryLanguage of the texts and error messages: en, tr, de, es, fr, it, nl or pt. Left out: the account's app language.
Responses
200OK
Change your calendar desk settings
/api/external/v1/assistant/calendar/settingsChanges how the desk plans your time. Body, every key optional (left out: unchanged): workingDays (a list such as ["MONDAY", "TUESDAY"], at least one), workFrom and workTo (HH:mm, from before to), bufferMinutes (0 to the desk's maximum, between meetings), maxMeetingsPerDay (1 to the maximum; null or "" for no limit), scheduleFrom (one of settings.mailboxes; null for your address with the assistant), travelPrep (true/false: prepare trips found in your calendar). Answers the settings as kept.
Errors: 400 BAD_HOURS (no day, or the hours do not run forward), 400 BAD_VALUE (naming the key), 400/409 the mailbox's refusal for a scheduleFrom you cannot send from, 409 UNAVAILABLE.
Parameters
langstringqueryLanguage of the texts and error messages: en, tr, de, es, fr, it, nl or pt. Left out: the account's app language.
Request body application/json
object
Responses
200OK
List your trips
/api/external/v1/assistant/calendar/tripsYour trips, latest first: title, destination, startsOn/endsOn, status (PLANNING, PLANNED, BOOKED, UNDER_WAY, DONE, CANCELLED), the plan the assistant wrote (its checklist, notes and what else it found), the trackId it follows the trip on and the calendarEventIds it put in your calendar. Planning a new trip starts a background work of the assistant and stays in the app. Answers {items}.
Parameters
limitinteger (int32)queryHow many, 1 to 100 (default 20).
langstringqueryLanguage of the texts and error messages: en, tr, de, es, fr, it, nl or pt. Left out: the account's app language.
Responses
200OK
Read one trip
/api/external/v1/assistant/calendar/trips/{id}One of your trips, as listed.
Errors: 404 TRIP_NOT_FOUND.
Parameters
idstring (uuid)pathRequiredlangstringqueryLanguage of the texts and error messages: en, tr, de, es, fr, it, nl or pt. Left out: the account's app language.
Responses
200OK
Change a trip's status, notes or checklist
/api/external/v1/assistant/calendar/trips/{id}Body, every key optional: status (PLANNED, BOOKED, UNDER_WAY, DONE or CANCELLED; cancelling takes its reminders away), notes (text, at most 4000 characters; null or "" removes them), checklist (the whole list as it should be: items as objects such as {"text": "Passport", "done": true}). Planning the trip again (replan) starts a background work of the assistant and is not offered here (400 UNSUPPORTED_FIELD). Answers the trip.
Errors: 404 TRIP_NOT_FOUND, 400 BAD_VALUE (naming the key), 409 UNAVAILABLE.
Parameters
idstring (uuid)pathRequiredlangstringqueryLanguage of the texts and error messages: en, tr, de, es, fr, it, nl or pt. Left out: the account's app language.
Request body application/json
object
Responses
200OK
Tick off a trip checklist item
/api/external/v1/assistant/calendar/trips/{id}/checkTicks one item of a trip's checklist off, or on again, on the checklist as it is now (nothing the assistant wrote meanwhile is lost). Body: item (required: the item's text, or its number in the checklist, 1 being the first), done (default true). Answers the trip.
Errors: 404 TRIP_NOT_FOUND, 400 MISSING_FIELD (no item), 400 INVALID_REQUEST (the trip has no checklist, or no such item), 409 UNAVAILABLE.
Parameters
idstring (uuid)pathRequiredlangstringqueryLanguage of the texts and error messages: en, tr, de, es, fr, it, nl or pt. Left out: the account's app language.
Request body application/json
object
Responses
200OK
Read how your assistant reports back
/api/external/v1/assistant/follow-upsHow your assistant gets back to you about what takes a while (a background work, a call it makes for you, a conversation it holds for you): announce (ESTIMATE: that it takes a while and roughly how long; BRIEF: only that it is under way; QUIET: a word that it is on it), progress (NONE: only the result; KEY: key moments, said on a call and noted in the app when you are away; ALL: also to your phone), chatFirst (told in the app chat it was asked in while you are still there), onCall (told on a call you are on with it), alsoUsual (also your usual way when told in the chat or on a call). The defaults when you set nothing.
Errors: 503 UNAVAILABLE.
Parameters
langstringqueryLanguage of the texts and error messages: en, tr, de, es, fr, it, nl or pt. Left out: the account's app language.
Responses
200OK
Change how your assistant reports back
/api/external/v1/assistant/follow-upsBody, every key optional (left out: as it was): announce (ESTIMATE, BRIEF or QUIET), progress (NONE, KEY or ALL), chatFirst, onCall, alsoUsual (true/false). Answers the whole setting as kept.
Errors: 400 BAD_INPUT (naming the key), 503 UNAVAILABLE.
Parameters
langstringqueryLanguage of the texts and error messages: en, tr, de, es, fr, it, nl or pt. Left out: the account's app language.
Request body application/json
object
Responses
200OK
List your meetings
/api/external/v1/assistant/meetingsThe meetings with others on your connected calendar that your assistant prepares and follows up: settings (available, calendarConnected, prepEnabled, prepLeadMinutes, followUpEnabled, onlyWithOthers), upcoming (soonest first; only on the first page), recent (the latest past ones before before) and nextBefore (send it as before for the next page; null at the end).
Each meeting carries its attendees, status (UPCOMING, ENDED - waiting for how it went - NOTED, CLOSED, CANCELLED, SKIPPED), its prep (who is in it as your assistant knows them, what was last spoken about, what is open, what to raise), your notes, the summary, the proposed actions and the follow-up mail drafts (followUps). A prep is drawn from your mail, notes and memory: personal.
Empty while meetings are not available to you (switched off, no calendar on your plan).
Parameters
beforestringqueryISO-8601 instant: the past meetings before it (default now); from `nextBefore`.
limitinteger (int32)queryHow many past meetings, 1 to 30 (default 10).
langstringqueryLanguage of the texts and error messages: en, tr, de, es, fr, it, nl or pt. Left out: the account's app language.
Responses
200OK
Read one meeting
/api/external/v1/assistant/meetings/{id}One of your meetings, as listed.
Errors: 404 MEETING_NOT_FOUND.
Parameters
idstring (uuid)pathRequiredlangstringqueryLanguage of the texts and error messages: en, tr, de, es, fr, it, nl or pt. Left out: the account's app language.
Responses
200OK
Decide a meeting's action item
/api/external/v1/assistant/meetings/{id}/actions/{actionId}What becomes of an action item your assistant proposed from a meeting. Body: decision (required): TRACKED (it becomes a track your assistant follows: the tracks feature and your plan's track limit apply), TASKED (a reminder on your agenda, at its due time or tomorrow morning) or DISMISSED. Deciding the same again changes nothing. Answers the meeting.
Errors: 400 INVALID (no or an unknown decision), 404 MEETING_ACTION_NOT_FOUND (no such meeting of yours, or no such action item in it), 409 DECIDED (decided otherwise already), 409 NOT_MADE (the track or reminder could not be made), 409 UNAVAILABLE.
Parameters
idstring (uuid)pathRequiredactionIdstringpathRequiredlangstringqueryLanguage of the texts and error messages: en, tr, de, es, fr, it, nl or pt. Left out: the account's app language.
Request body application/json
object
Responses
200OK
Close a meeting
/api/external/v1/assistant/meetings/{id}/closeNothing more to do about a meeting: your assistant stops asking how it went. Answers the meeting.
Errors: 404 MEETING_NOT_FOUND, 409 UNAVAILABLE.
Parameters
idstring (uuid)pathRequiredlangstringqueryLanguage of the texts and error messages: en, tr, de, es, fr, it, nl or pt. Left out: the account's app language.
Responses
200OK
Edit a meeting's follow-up draft
/api/external/v1/assistant/meetings/{id}/follow-ups/{followUpId}Edits a follow-up mail draft of a meeting. Body, every key optional (left out: unchanged): to and cc (lists of addresses), subject, body. Nothing is sent: sending a follow-up stays in the app, where it goes through your approval rules. Answers the meeting.
Errors: 400 INVALID (an address that is none), 400 TOO_LONG, 404 MEETING_FOLLOW_UP_NOT_FOUND (no such meeting of yours, or no such draft in it), 409 DECIDED (sent or discarded already), 409 UNAVAILABLE.
Parameters
idstring (uuid)pathRequiredfollowUpIdstringpathRequiredlangstringqueryLanguage of the texts and error messages: en, tr, de, es, fr, it, nl or pt. Left out: the account's app language.
Request body application/json
object
Responses
200OK
Discard a meeting's follow-up draft
/api/external/v1/assistant/meetings/{id}/follow-ups/{followUpId}/discardLets a follow-up mail draft go: it is never sent. Answers the meeting.
Errors: 404 MEETING_FOLLOW_UP_NOT_FOUND, 409 DECIDED (sent or discarded already), 409 UNAVAILABLE.
Parameters
idstring (uuid)pathRequiredfollowUpIdstringpathRequiredlangstringqueryLanguage of the texts and error messages: en, tr, de, es, fr, it, nl or pt. Left out: the account's app language.
Responses
200OK
Add your notes of a meeting
/api/external/v1/assistant/meetings/{id}/notesYour notes of a meeting that has started, worked through by your assistant into a summary, proposed actions and follow-up mail drafts to the attendees. Nothing goes to anyone: an action becomes a track or a reminder on your decision, and a follow-up is sent only from the app, through your approval rules. Body: notes (required, the text), source (TYPED, the default, or VOICE for dictated notes). To close a meeting without notes use POST /assistant/meetings/{id}/close. Answers the meeting.
Errors: 400 MISSING_FIELD (no notes), 400 TOO_LONG, 400 INVALID (an unknown source), 404 MEETING_NOT_FOUND, 409 NOT_YET (not started), 409 CANCELLED, 409 NOT_WRITTEN, 409 UNAVAILABLE.
Parameters
idstring (uuid)pathRequiredlangstringqueryLanguage of the texts and error messages: en, tr, de, es, fr, it, nl or pt. Left out: the account's app language.
Request body application/json
object
Responses
200OK
Prepare a meeting now
/api/external/v1/assistant/meetings/{id}/prepareWrites (or writes again) a meeting's prep now, from what your assistant knows about the people in it: your contacts and world, the last conversations and notes with them, open tracks, recent mail threads. Answers the meeting with its prep.
Errors: 404 MEETING_NOT_FOUND, 409 NOTHING_TO_PREPARE (alone, or all day), 409 TOO_LATE (over or cancelled), 409 NOT_WRITTEN (it could not be written now), 409 NO_CALENDAR, 409 UNAVAILABLE.
Parameters
idstring (uuid)pathRequiredlangstringqueryLanguage of the texts and error messages: en, tr, de, es, fr, it, nl or pt. Left out: the account's app language.
Responses
200OK
Upload a recording of a meeting
/api/external/v1/assistant/meetings/{id}/recordingA recording of a meeting that has started (multipart field file: audio such as webm, mp3, m4a or wav, at most the transcription's size limit, 25 MB unless the platform sets another). It is transcribed in the background; the transcript becomes the meeting's notes (after any notes it has) and is worked through as typed notes are, and you are told in the app when it is done. Answers the meeting now, its notes on their way.
Errors: 400 EMPTY, 400 TOO_LARGE, 404 MEETING_NOT_FOUND, 409 NOT_YET, 409 CANCELLED, 409 TRANSCRIBING (one is being transcribed already), 409 NOT_TRANSCRIBED (transcription is not available now), 409 UNAVAILABLE.
Parameters
idstring (uuid)pathRequiredlangstringqueryLanguage of the texts and error messages: en, tr, de, es, fr, it, nl or pt. Left out: the account's app language.
Request body multipart/form-data
filestring (binary)
Responses
200OK
Change your meeting settings
/api/external/v1/assistant/meetings/settingsBody, every key optional: prepEnabled (true/false: a prep before each meeting with others), prepLeadMinutes (10 to 1440: how long before it starts), followUpEnabled (true/false: ask how it went and draft the follow-ups), onlyWithOthers (true/false). Any other key is refused. Answers the settings as kept.
Errors: 400 INVALID (an unknown key or a value out of range), 409 UNAVAILABLE.
Parameters
langstringqueryLanguage of the texts and error messages: en, tr, de, es, fr, it, nl or pt. Left out: the account's app language.
Request body application/json
object
Responses
200OK
Read your outbox
/api/external/v1/assistant/outboxThe messages and calls your assistant holds for your send times, and your send times themselves.
Answers settings (enabled - off: everything goes at once - start/end as HH:mm and days (MO, TU, ...) of your send hours, recentMinutes: someone who wrote within that many minutes gets an answer at once, at most recentMax, personAskedNow: what you ask for in a conversation goes at once, modes per way such as EMAIL: HOLD (within the send hours) or NOW, own: whether you changed anything), items (those waiting first, soonest first, then the latest done, at most 60: id, channel, summary worded in lang, recipients, the recipient's zone, the reason it waits, status QUEUED, SENDING, SENT, FAILED, ASKED or CANCELLED, sendAt, sentAt, outcome), waiting and personZone (your time zone).
Everything here was approved already; the outbox only decides when it goes.
Errors: 503 UNAVAILABLE.
Parameters
langstringqueryLanguage of the texts and error messages: en, tr, de, es, fr, it, nl or pt. Left out: the account's app language.
Responses
200OK
Take back a waiting message
/api/external/v1/assistant/outbox/items/{id}/cancelOne waiting message or call is taken back: it never goes. Its outcome reads "Taken back through the API." in your outbox. Answers the outbox.
Errors: 404 OUTBOX_ITEM_NOT_FOUND, 409 OUTBOX_ITEM_NOT_WAITING, 503 UNAVAILABLE.
Parameters
idstring (uuid)pathRequiredlangstringqueryLanguage of the texts and error messages: en, tr, de, es, fr, it, nl or pt. Left out: the account's app language.
Responses
200OK
Send a waiting message now
/api/external/v1/assistant/outbox/items/{id}/send-nowOne waiting message or call goes now instead of at its send time: due at once, sent within the minute. This is exactly the app's "Send now": the message itself was approved already (or needed no approval under your rules); only its send time is skipped. Answers the outbox.
Errors: 404 OUTBOX_ITEM_NOT_FOUND, 409 OUTBOX_ITEM_NOT_WAITING (it went out, failed or was taken back), 503 UNAVAILABLE.
Parameters
idstring (uuid)pathRequiredlangstringqueryLanguage of the texts and error messages: en, tr, de, es, fr, it, nl or pt. Left out: the account's app language.
Responses
200OK
Move a waiting message to another time
/api/external/v1/assistant/outbox/items/{id}/timeHolds one waiting message or call until another time. Body: sendAt (required, an ISO-8601 instant at least a minute and at most 60 days from now). Answers the outbox.
Errors: 400 BAD_INPUT (no time, or one out of range), 404 OUTBOX_ITEM_NOT_FOUND, 409 OUTBOX_ITEM_NOT_WAITING, 503 UNAVAILABLE.
Parameters
idstring (uuid)pathRequiredlangstringqueryLanguage of the texts and error messages: en, tr, de, es, fr, it, nl or pt. Left out: the account's app language.
Request body application/json
object
Responses
200OK
Change your send times
/api/external/v1/assistant/outbox/settingsBody, every key optional (left out: as it is): enabled (true/false), start and end (HH:mm, not the same), days (a list such as ["MO", "TU", "WE", "TH", "FR"] or one string "MO,TU,WE", at least one), recentMinutes (0 to 240), personAskedNow (true/false), modes (per way: {"EMAIL": "HOLD", "SMS": "NOW"}; ways CALL, EMAIL, SMS, WHATSAPP, TELEGRAM, SLACK, NETWORK). Saved whole; messages already waiting keep their time. Answers the outbox as GET /assistant/outbox does.
Errors: 400 BAD_INPUT (naming what is wrong), 503 UNAVAILABLE.
Parameters
langstringqueryLanguage of the texts and error messages: en, tr, de, es, fr, it, nl or pt. Left out: the account's app language.
Request body application/json
object
Responses
200OK