# Calendar

> Calendars, events and recurring series, invitation replies, and finding free time.

URL: https://docs.workwae.com/reference/calendar

Guides: [Calendar](/guides/calendar), [Meetings](/guides/meetings).

| Method | Path | Operation | Scope |
| --- | --- | --- | --- |
| `GET` | `/v1/accounts/{accountId}/calendars` | [List calendars](#list-calendars) | `read` |
| `POST` | `/v1/accounts/{accountId}/calendars` | [Create a calendar](#create-a-calendar) | `write` |
| `PATCH` | `/v1/accounts/{accountId}/calendars/{calendarId}` | [Rename a calendar or change its color](#rename-a-calendar-or-change-its-color) | `write` |
| `DELETE` | `/v1/accounts/{accountId}/calendars/{calendarId}` | [Delete a calendar](#delete-a-calendar) | `write` |
| `GET` | `/v1/accounts/{accountId}/calendar-events` | [List events in a time range, by start](#list-events-in-a-time-range-by-start) | `read` |
| `POST` | `/v1/accounts/{accountId}/calendar-events` | [Create an event or a recurring series](#create-an-event-or-a-recurring-series) | `write` |
| `GET` | `/v1/accounts/{accountId}/calendar-events/{eventId}` | [Get an event with its body](#get-an-event-with-its-body) | `read` |
| `PATCH` | `/v1/accounts/{accountId}/calendar-events/{eventId}` | [Change an event, one occurrence, or a whole series](#change-an-event-one-occurrence-or-a-whole-series) | `write` |
| `DELETE` | `/v1/accounts/{accountId}/calendar-events/{eventId}` | [Delete an event, one occurrence, or a whole series](#delete-an-event-one-occurrence-or-a-whole-series) | `write` |
| `POST` | `/v1/accounts/{accountId}/calendar-events/{eventId}/respond` | [Accept, tentatively accept or decline an invitation](#accept-tentatively-accept-or-decline-an-invitation) | `write` |
| `POST` | `/v1/accounts/{accountId}/availability/find` | [Find busy times and common free slots](#find-busy-times-and-common-free-slots) | `read` |
| `POST` | `/v1/availability/find` | [Find free slots across several accounts](#find-free-slots-across-several-accounts) | `read` |

## List calendars

`GET /v1/accounts/{accountId}/calendars`

TypeScript SDK method: `workwae.calendars.list()`

Required scope: `read`.

### Parameters

| Name | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `accountId` | path | string (uuid) | yes | Example `"6f1c2a4e-8b3d-4e5f-9a7b-1c2d3e4f5a6b"`. |

### Responses

- **200** OK (application/json, object)

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `items` | object[] | yes |  |
| `items[].id` | string (uuid) | yes | Example `"c4e6a8b0-1d3f-4a5c-8e7b-9d1f3a5c7e9b"`. |
| `items[].name` | string | yes |  |
| `items[].description` | string \| null | yes | Example `"Production"`. |
| `items[].owner` | object \| null | yes |  |
| `items[].owner.name` | string \| null | yes | Example `"Ada Lovelace"`. |
| `items[].owner.address` | string | yes | Example `"ada@example.com"`. |
| `items[].isPrimary` | boolean | yes |  |
| `items[].access` | "owner" \| "writer" \| "reader" \| "freebusy" | yes |  |
| `items[].canEdit` | boolean | yes |  |
| `items[].color` | string \| null | yes |  |
| `items[].timeZone` | string \| null | yes | Example `"Europe/Berlin"`. |
| `items[].isHidden` | boolean | yes |  |

- **Errors**, by status and `code` (see [Errors](/guides/errors)):
  - 400: `invalid_input`, `invalid_idempotency_key`
  - 401: `unauthenticated`, `api_key_expired`
  - 403: `missing_scope`, `role_forbidden`, `account_token_forbidden`, `account_scope_forbidden`, `mcp_only_key`, `plan_module_unavailable`
  - 404: `account_not_found`
  - 409: `idempotency_key_in_progress`, `calendar_disabled`
  - 413: `payload_too_large`
  - 422: `idempotency_key_reused`
  - 429: `rate_limited`, `too_many_requests`
  - 500: `internal_error`
  - 503: `overloaded`

## Create a calendar

`POST /v1/accounts/{accountId}/calendars`

TypeScript SDK method: `workwae.calendars.create()`

Microsoft stores the name and, when given, color (#rrggbb); a description or time zone is provider_unsupported (the mailbox zone applies to every calendar). Google stores the name, description, time zone and color. CalDAV stores the name, description and color (Apple calendar-color); a time zone is provider_unsupported.

Required scope: `write`.

### Parameters

| Name | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `accountId` | path | string (uuid) | yes | Example `"6f1c2a4e-8b3d-4e5f-9a7b-1c2d3e4f5a6b"`. |

### Request body (required)

Content type `application/json`.

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `name` | string | yes | 1 to 100 characters. |
| `description` | string \| null | no | Example `"Production"`. |
| `color` | string \| null | no |  |
| `timeZone` | string \| null | no | Example `"Europe/Berlin"`. |

### Responses

- **201** OK (application/json, object)

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `id` | string (uuid) | yes | Example `"c4e6a8b0-1d3f-4a5c-8e7b-9d1f3a5c7e9b"`. |
| `name` | string | yes |  |
| `description` | string \| null | yes | Example `"Production"`. |
| `owner` | object \| null | yes |  |
| `owner.name` | string \| null | yes | Example `"Ada Lovelace"`. |
| `owner.address` | string | yes | Example `"ada@example.com"`. |
| `isPrimary` | boolean | yes |  |
| `access` | "owner" \| "writer" \| "reader" \| "freebusy" | yes |  |
| `canEdit` | boolean | yes |  |
| `color` | string \| null | yes |  |
| `timeZone` | string \| null | yes | Example `"Europe/Berlin"`. |
| `isHidden` | boolean | yes |  |

- **Errors**, by status and `code` (see [Errors](/guides/errors)):
  - 400: `invalid_input`, `invalid_idempotency_key`, `provider_unsupported`, `provider_rejected`
  - 401: `unauthenticated`, `api_key_expired`
  - 403: `missing_scope`, `role_forbidden`, `account_token_forbidden`, `account_scope_forbidden`, `mcp_only_key`, `plan_module_unavailable`, `provider_forbidden`, `calendar_read_only`
  - 404: `account_not_found`, `provider_not_found`
  - 409: `idempotency_key_in_progress`, `calendar_disabled`, `account_paused`, `account_disabled`, `account_reauth_required`, `account_misconfigured`, `provider_conflict`
  - 413: `payload_too_large`
  - 422: `idempotency_key_reused`
  - 429: `rate_limited`, `too_many_requests`, `provider_throttled`
  - 500: `internal_error`
  - 502: `provider_unavailable`
  - 503: `overloaded`

## Rename a calendar or change its color

`PATCH /v1/accounts/{accountId}/calendars/{calendarId}`

TypeScript SDK method: `workwae.calendars.update()`

Same fields as create. The primary calendar can be renamed where the provider allows it. A calendar the account cannot write is calendar_read_only.

Required scope: `write`.

### Parameters

| Name | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `accountId` | path | string (uuid) | yes | Example `"6f1c2a4e-8b3d-4e5f-9a7b-1c2d3e4f5a6b"`. |
| `calendarId` | path | string (uuid) | yes | Example `"1fccaa1f-a2df-4d43-8053-6bbb769ff90c"`. |

### Request body

Content type `application/json`.

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `name` | string | no | 1 to 100 characters. |
| `description` | string \| null | no | Example `"Production"`. |
| `color` | string \| null | no |  |
| `timeZone` | string \| null | no | Example `"Europe/Berlin"`. |

### Responses

- **200** OK (application/json, object)

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `id` | string (uuid) | yes | Example `"c4e6a8b0-1d3f-4a5c-8e7b-9d1f3a5c7e9b"`. |
| `name` | string | yes |  |
| `description` | string \| null | yes | Example `"Production"`. |
| `owner` | object \| null | yes |  |
| `owner.name` | string \| null | yes | Example `"Ada Lovelace"`. |
| `owner.address` | string | yes | Example `"ada@example.com"`. |
| `isPrimary` | boolean | yes |  |
| `access` | "owner" \| "writer" \| "reader" \| "freebusy" | yes |  |
| `canEdit` | boolean | yes |  |
| `color` | string \| null | yes |  |
| `timeZone` | string \| null | yes | Example `"Europe/Berlin"`. |
| `isHidden` | boolean | yes |  |

- **Errors**, by status and `code` (see [Errors](/guides/errors)):
  - 400: `invalid_input`, `invalid_idempotency_key`, `provider_unsupported`, `provider_rejected`
  - 401: `unauthenticated`, `api_key_expired`
  - 403: `missing_scope`, `role_forbidden`, `account_token_forbidden`, `account_scope_forbidden`, `mcp_only_key`, `plan_module_unavailable`, `provider_forbidden`, `calendar_read_only`
  - 404: `account_not_found`, `calendar_not_found`, `provider_not_found`
  - 409: `idempotency_key_in_progress`, `calendar_disabled`, `account_paused`, `account_disabled`, `account_reauth_required`, `account_misconfigured`, `provider_conflict`
  - 413: `payload_too_large`
  - 422: `idempotency_key_reused`
  - 429: `rate_limited`, `too_many_requests`, `provider_throttled`
  - 500: `internal_error`
  - 502: `provider_unavailable`
  - 503: `overloaded`

## Delete a calendar

`DELETE /v1/accounts/{accountId}/calendars/{calendarId}`

TypeScript SDK method: `workwae.calendars.delete()`

Refused for the primary calendar (calendar_primary). Events in it leave the index with the calendar and are not announced one by one, as when a sync sees the calendar gone. A provider that still holds events deletes them with the calendar.

Required scope: `write`.

### Parameters

| Name | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `accountId` | path | string (uuid) | yes | Example `"6f1c2a4e-8b3d-4e5f-9a7b-1c2d3e4f5a6b"`. |
| `calendarId` | path | string (uuid) | yes | Example `"1fccaa1f-a2df-4d43-8053-6bbb769ff90c"`. |

### Responses

- **204** OK (application/json, any)
- **Errors**, by status and `code` (see [Errors](/guides/errors)):
  - 400: `invalid_input`, `invalid_idempotency_key`, `provider_unsupported`, `provider_rejected`
  - 401: `unauthenticated`, `api_key_expired`
  - 403: `missing_scope`, `role_forbidden`, `account_token_forbidden`, `account_scope_forbidden`, `mcp_only_key`, `plan_module_unavailable`, `provider_forbidden`, `calendar_read_only`
  - 404: `account_not_found`, `calendar_not_found`, `provider_not_found`
  - 409: `idempotency_key_in_progress`, `calendar_disabled`, `calendar_primary`, `account_paused`, `account_disabled`, `account_reauth_required`, `account_misconfigured`, `provider_conflict`
  - 413: `payload_too_large`
  - 422: `idempotency_key_reused`
  - 429: `rate_limited`, `too_many_requests`, `provider_throttled`
  - 500: `internal_error`
  - 502: `provider_unavailable`
  - 503: `overloaded`

## List events in a time range, by start

`GET /v1/accounts/{accountId}/calendar-events`

TypeScript SDK method: `workwae.calendarEvents.list()`

Returns singles, occurrences and exceptions overlapping [start, end), not series definitions. Only the sync window (by default 90 days back to 365 days ahead) is indexed.

Required scope: `read`.

### Parameters

| Name | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `accountId` | path | string (uuid) | yes | Example `"6f1c2a4e-8b3d-4e5f-9a7b-1c2d3e4f5a6b"`. |
| `start` | query | string (date-time) | yes | Example `"2026-05-04T09:30:00.000Z"`. |
| `end` | query | string (date-time) | yes | Example `"2026-05-04T09:30:00.000Z"`. |
| `calendarId` | query | string (uuid) | no | Example `"1fccaa1f-a2df-4d43-8053-6bbb769ff90c"`. |
| `limit` | query | integer | no | 1 to 500. Default `100`. |
| `cursor` | query | string | no | 1 to 512 characters. Example `"eyJ0eG5pZCI6IjQyIiwiaWQiOjEwMDF9"`. |

### Responses

- **200** OK (application/json, object)

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `items` | object[] | yes |  |
| `items[].id` | string (uuid) | yes | Example `"c4e6a8b0-1d3f-4a5c-8e7b-9d1f3a5c7e9b"`. |
| `items[].calendarId` | string (uuid) | yes | Example `"1fccaa1f-a2df-4d43-8053-6bbb769ff90c"`. |
| `items[].kind` | "single" \| "series" \| "occurrence" \| "exception" | yes |  |
| `items[].seriesId` | string (uuid) \| null | yes | Example `"dea472e1-378c-4ba7-8ef7-4cf60ee33665"`. |
| `items[].originalStart` | string (date-time) \| null | yes | Example `"2026-05-04T09:30:00.000Z"`. |
| `items[].subject` | string \| null | yes | Example `"Quarterly report"`. |
| `items[].snippet` | string \| null | yes | Example `"Hi Ada, the numbers for the quarter are attached."`. |
| `items[].location` | string \| null | yes |  |
| `items[].start` | object | yes |  |
| `items[].start.dateTime` | string (date-time) | yes | Example `"2026-05-04T09:30:00.000Z"`. |
| `items[].start.date` | string (date) \| null | yes | Example `"2026-05-04"`. |
| `items[].start.timeZone` | string \| null | yes | Example `"Europe/Berlin"`. |
| `items[].end` | object | yes |  |
| `items[].end.dateTime` | string (date-time) | yes | Example `"2026-05-04T09:30:00.000Z"`. |
| `items[].end.date` | string (date) \| null | yes | Example `"2026-05-04"`. |
| `items[].end.timeZone` | string \| null | yes | Example `"Europe/Berlin"`. |
| `items[].isAllDay` | boolean | yes |  |
| `items[].organizer` | object \| null | yes |  |
| `items[].organizer.name` | string \| null | yes | Example `"Ada Lovelace"`. |
| `items[].organizer.address` | string | yes | Example `"ada@example.com"`. |
| `items[].attendees` | object[] | yes |  |
| `items[].attendees[].name` | string \| null | yes | Example `"Ada Lovelace"`. |
| `items[].attendees[].address` | string | yes | Example `"ada@example.com"`. |
| `items[].attendees[].type` | "required" \| "optional" \| "resource" | yes |  |
| `items[].attendees[].response` | "none" \| "organizer" \| "accepted" \| "tentative" \| "declined" \| "needs_action" | yes |  |
| `items[].isOrganizer` | boolean | yes |  |
| `items[].selfResponse` | "none" \| "organizer" \| "accepted" \| "tentative" \| "declined" \| "needs_action" | yes |  |
| `items[].status` | "confirmed" \| "tentative" \| "cancelled" | yes |  |
| `items[].showAs` | "free" \| "busy" \| "tentative" \| "oof" \| "working_elsewhere" \| "unknown" | yes |  |
| `items[].sensitivity` | "normal" \| "personal" \| "private" \| "confidential" | yes |  |
| `items[].onlineMeetingUrl` | string \| null | yes |  |
| `items[].onlineMeetingProvider` | string \| null | yes |  |
| `items[].iCalUid` | string \| null | yes |  |
| `items[].recurrence` | string[] \| null | yes |  |
| `items[].recurrenceTimeZone` | string \| null | yes |  |
| `items[].cancelledStarts` | string (date-time)[] \| null | yes |  |
| `items[].categories` | string[] | yes |  |
| `items[].hasAttachments` | boolean | yes |  |
| `items[].reminderMinutes` | integer \| null | yes |  |
| `items[].webLink` | string \| null | yes |  |
| `items[].updatedAt` | string (date-time) | yes | Example `"2026-05-04T09:30:00.000Z"`. |
| `nextCursor` | string \| null | yes | Example `"eyJ0eG5pZCI6IjQyIiwiaWQiOjEwMDF9"`. |

- **Errors**, by status and `code` (see [Errors](/guides/errors)):
  - 400: `invalid_input`, `invalid_idempotency_key`, `invalid_cursor`, `invalid_range`
  - 401: `unauthenticated`, `api_key_expired`
  - 403: `missing_scope`, `role_forbidden`, `account_token_forbidden`, `account_scope_forbidden`, `mcp_only_key`, `plan_module_unavailable`
  - 404: `account_not_found`
  - 409: `idempotency_key_in_progress`, `calendar_disabled`
  - 413: `payload_too_large`
  - 422: `idempotency_key_reused`, `unknown_calendar`
  - 429: `rate_limited`, `too_many_requests`
  - 500: `internal_error`
  - 503: `overloaded`

## Create an event or a recurring series

`POST /v1/accounts/{accountId}/calendar-events`

TypeScript SDK method: `workwae.calendarEvents.create()`

onlineMeeting asks the provider for a Teams (Microsoft) or Meet (Google) link; onlineMeetingUrl attaches a link from another service (Zoom, Webex, ...), read back as onlineMeetingUrl. On Microsoft that link is the location's link (location defaults to the URL) and a join line is added to a body sent along. onlineMeetingService has Workwae create a Zoom or Webex meeting (recurring for a series) hosted by the account's own grant at the service, else by the tenant's server app as the service user with the mailbox's address, and attaches its join link the same way. The server app hosts only accounts whose address the provider verified (Gmail, Microsoft, IMAP signed in with OAuth): a password IMAP account's address is whatever was typed, so it needs its own grant. The meeting is created only once the account is active, and deleted again if anything fails before its link is saved. On an IMAP account whose CalDAV server does not schedule, the invitation is mailed from the account's SMTP server when notify is true and there are attendees; a missing SMTP server is refused before anything is created, and a send that fails after the event is created is logged and the event stands.

Required scope: `write`.

### Parameters

| Name | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `accountId` | path | string (uuid) | yes | Example `"6f1c2a4e-8b3d-4e5f-9a7b-1c2d3e4f5a6b"`. |

### Request body (required)

Content type `application/json`.

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `calendarId` | string (uuid) | yes | Example `"1fccaa1f-a2df-4d43-8053-6bbb769ff90c"`. |
| `subject` | string | no | At most 255 characters. Example `"Quarterly report"`. |
| `body` | object | no |  |
| `body.contentType` | "text" \| "html" | yes |  |
| `body.content` | string | yes | At most 1000000 characters. |
| `location` | string | no | At most 255 characters. |
| `start` | object | yes |  |
| `end` | object | yes |  |
| `attendees` | object[] | no | At most 500 items. Default `[]`. |
| `attendees[].name` | string | no | At most 256 characters. Example `"Ada Lovelace"`. |
| `attendees[].address` | string (email) | yes | At most 320 characters. Example `"ada@example.com"`. |
| `attendees[].type` | "required" \| "optional" \| "resource" | no | Default `"required"`. |
| `recurrence` | string[] | no | 1 to 20 items. |
| `showAs` | "free" \| "busy" \| "tentative" \| "oof" \| "working_elsewhere" | no |  |
| `sensitivity` | "normal" \| "personal" \| "private" \| "confidential" | no |  |
| `reminderMinutes` | integer \| null | no |  |
| `onlineMeeting` | boolean | no | Default `false`. |
| `onlineMeetingUrl` | string (uri) | no | At most 2048 characters. Example `"https://app.example.com/"`. |
| `onlineMeetingService` | "zoom" \| "webex" | no |  |
| `notify` | boolean | no | Default `true`. |

### Responses

- **201** OK (application/json, object)

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `id` | string (uuid) | yes | Example `"c4e6a8b0-1d3f-4a5c-8e7b-9d1f3a5c7e9b"`. |
| `calendarId` | string (uuid) | yes | Example `"1fccaa1f-a2df-4d43-8053-6bbb769ff90c"`. |
| `kind` | "single" \| "series" \| "occurrence" \| "exception" | yes |  |
| `seriesId` | string (uuid) \| null | yes | Example `"dea472e1-378c-4ba7-8ef7-4cf60ee33665"`. |
| `originalStart` | string (date-time) \| null | yes | Example `"2026-05-04T09:30:00.000Z"`. |
| `subject` | string \| null | yes | Example `"Quarterly report"`. |
| `snippet` | string \| null | yes | Example `"Hi Ada, the numbers for the quarter are attached."`. |
| `location` | string \| null | yes |  |
| `start` | object | yes |  |
| `start.dateTime` | string (date-time) | yes | Example `"2026-05-04T09:30:00.000Z"`. |
| `start.date` | string (date) \| null | yes | Example `"2026-05-04"`. |
| `start.timeZone` | string \| null | yes | Example `"Europe/Berlin"`. |
| `end` | object | yes |  |
| `end.dateTime` | string (date-time) | yes | Example `"2026-05-04T09:30:00.000Z"`. |
| `end.date` | string (date) \| null | yes | Example `"2026-05-04"`. |
| `end.timeZone` | string \| null | yes | Example `"Europe/Berlin"`. |
| `isAllDay` | boolean | yes |  |
| `organizer` | object \| null | yes |  |
| `organizer.name` | string \| null | yes | Example `"Ada Lovelace"`. |
| `organizer.address` | string | yes | Example `"ada@example.com"`. |
| `attendees` | object[] | yes |  |
| `attendees[].name` | string \| null | yes | Example `"Ada Lovelace"`. |
| `attendees[].address` | string | yes | Example `"ada@example.com"`. |
| `attendees[].type` | "required" \| "optional" \| "resource" | yes |  |
| `attendees[].response` | "none" \| "organizer" \| "accepted" \| "tentative" \| "declined" \| "needs_action" | yes |  |
| `isOrganizer` | boolean | yes |  |
| `selfResponse` | "none" \| "organizer" \| "accepted" \| "tentative" \| "declined" \| "needs_action" | yes |  |
| `status` | "confirmed" \| "tentative" \| "cancelled" | yes |  |
| `showAs` | "free" \| "busy" \| "tentative" \| "oof" \| "working_elsewhere" \| "unknown" | yes |  |
| `sensitivity` | "normal" \| "personal" \| "private" \| "confidential" | yes |  |
| `onlineMeetingUrl` | string \| null | yes |  |
| `onlineMeetingProvider` | string \| null | yes |  |
| `iCalUid` | string \| null | yes |  |
| `recurrence` | string[] \| null | yes |  |
| `recurrenceTimeZone` | string \| null | yes |  |
| `cancelledStarts` | string (date-time)[] \| null | yes |  |
| `categories` | string[] | yes |  |
| `hasAttachments` | boolean | yes |  |
| `reminderMinutes` | integer \| null | yes |  |
| `webLink` | string \| null | yes |  |
| `updatedAt` | string (date-time) | yes | Example `"2026-05-04T09:30:00.000Z"`. |
| `body` | object \| null | yes |  |
| `body.contentType` | "text" \| "html" | yes |  |
| `body.content` | string | yes |  |

- **Errors**, by status and `code` (see [Errors](/guides/errors)):
  - 400: `invalid_input`, `invalid_idempotency_key`, `provider_unsupported`, `provider_rejected`, `invalid_time_zone`, `mixed_event_times`, `invalid_range`, `invalid_recurrence`, `meeting_recurrence_unsupported`, `meeting_service_rejected`, `multiple_meeting_options`
  - 401: `unauthenticated`, `api_key_expired`
  - 403: `missing_scope`, `role_forbidden`, `account_token_forbidden`, `account_scope_forbidden`, `mcp_only_key`, `plan_module_unavailable`, `provider_forbidden`, `calendar_read_only`
  - 404: `account_not_found`, `provider_not_found`, `calendar_not_found`, `calendar_event_not_found`
  - 409: `idempotency_key_in_progress`, `calendar_disabled`, `account_paused`, `account_disabled`, `account_reauth_required`, `account_misconfigured`, `provider_conflict`, `meeting_service_not_connected`, `meeting_service_reauth_required`, `meeting_host_missing`
  - 413: `payload_too_large`
  - 422: `idempotency_key_reused`
  - 429: `rate_limited`, `too_many_requests`, `provider_throttled`
  - 500: `internal_error`
  - 502: `provider_unavailable`, `meeting_service_unavailable`
  - 503: `overloaded`

## Get an event with its body

`GET /v1/accounts/{accountId}/calendar-events/{eventId}`

TypeScript SDK method: `workwae.calendarEvents.get()`

Works for every kind, including a series (its recurrence rule).

Required scope: `read`.

### Parameters

| Name | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `accountId` | path | string (uuid) | yes | Example `"6f1c2a4e-8b3d-4e5f-9a7b-1c2d3e4f5a6b"`. |
| `eventId` | path | string (uuid) | yes | Example `"b6d8444a-dc76-4be5-849f-414f1b681c88"`. |

### Responses

- **200** OK (application/json, object)

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `id` | string (uuid) | yes | Example `"c4e6a8b0-1d3f-4a5c-8e7b-9d1f3a5c7e9b"`. |
| `calendarId` | string (uuid) | yes | Example `"1fccaa1f-a2df-4d43-8053-6bbb769ff90c"`. |
| `kind` | "single" \| "series" \| "occurrence" \| "exception" | yes |  |
| `seriesId` | string (uuid) \| null | yes | Example `"dea472e1-378c-4ba7-8ef7-4cf60ee33665"`. |
| `originalStart` | string (date-time) \| null | yes | Example `"2026-05-04T09:30:00.000Z"`. |
| `subject` | string \| null | yes | Example `"Quarterly report"`. |
| `snippet` | string \| null | yes | Example `"Hi Ada, the numbers for the quarter are attached."`. |
| `location` | string \| null | yes |  |
| `start` | object | yes |  |
| `start.dateTime` | string (date-time) | yes | Example `"2026-05-04T09:30:00.000Z"`. |
| `start.date` | string (date) \| null | yes | Example `"2026-05-04"`. |
| `start.timeZone` | string \| null | yes | Example `"Europe/Berlin"`. |
| `end` | object | yes |  |
| `end.dateTime` | string (date-time) | yes | Example `"2026-05-04T09:30:00.000Z"`. |
| `end.date` | string (date) \| null | yes | Example `"2026-05-04"`. |
| `end.timeZone` | string \| null | yes | Example `"Europe/Berlin"`. |
| `isAllDay` | boolean | yes |  |
| `organizer` | object \| null | yes |  |
| `organizer.name` | string \| null | yes | Example `"Ada Lovelace"`. |
| `organizer.address` | string | yes | Example `"ada@example.com"`. |
| `attendees` | object[] | yes |  |
| `attendees[].name` | string \| null | yes | Example `"Ada Lovelace"`. |
| `attendees[].address` | string | yes | Example `"ada@example.com"`. |
| `attendees[].type` | "required" \| "optional" \| "resource" | yes |  |
| `attendees[].response` | "none" \| "organizer" \| "accepted" \| "tentative" \| "declined" \| "needs_action" | yes |  |
| `isOrganizer` | boolean | yes |  |
| `selfResponse` | "none" \| "organizer" \| "accepted" \| "tentative" \| "declined" \| "needs_action" | yes |  |
| `status` | "confirmed" \| "tentative" \| "cancelled" | yes |  |
| `showAs` | "free" \| "busy" \| "tentative" \| "oof" \| "working_elsewhere" \| "unknown" | yes |  |
| `sensitivity` | "normal" \| "personal" \| "private" \| "confidential" | yes |  |
| `onlineMeetingUrl` | string \| null | yes |  |
| `onlineMeetingProvider` | string \| null | yes |  |
| `iCalUid` | string \| null | yes |  |
| `recurrence` | string[] \| null | yes |  |
| `recurrenceTimeZone` | string \| null | yes |  |
| `cancelledStarts` | string (date-time)[] \| null | yes |  |
| `categories` | string[] | yes |  |
| `hasAttachments` | boolean | yes |  |
| `reminderMinutes` | integer \| null | yes |  |
| `webLink` | string \| null | yes |  |
| `updatedAt` | string (date-time) | yes | Example `"2026-05-04T09:30:00.000Z"`. |
| `body` | object \| null | yes |  |
| `body.contentType` | "text" \| "html" | yes |  |
| `body.content` | string | yes |  |

- **Errors**, by status and `code` (see [Errors](/guides/errors)):
  - 400: `invalid_input`, `invalid_idempotency_key`, `provider_unsupported`, `provider_rejected`
  - 401: `unauthenticated`, `api_key_expired`
  - 403: `missing_scope`, `role_forbidden`, `account_token_forbidden`, `account_scope_forbidden`, `mcp_only_key`, `plan_module_unavailable`, `provider_forbidden`
  - 404: `account_not_found`, `calendar_event_not_found`, `provider_not_found`
  - 409: `idempotency_key_in_progress`, `calendar_disabled`, `account_paused`, `account_disabled`, `account_reauth_required`, `account_misconfigured`
  - 413: `payload_too_large`
  - 422: `idempotency_key_reused`
  - 429: `rate_limited`, `too_many_requests`, `provider_throttled`
  - 500: `internal_error`
  - 502: `provider_unavailable`
  - 503: `overloaded`

## Change an event, one occurrence, or a whole series

`PATCH /v1/accounts/{accountId}/calendar-events/{eventId}`

TypeScript SDK method: `workwae.calendarEvents.update()`

Addressing an occurrence changes only that instance; addressing the series changes every occurrence. onlineMeetingUrl replaces a link from another service (as on create); null removes it (on Google, whatever conference the event has; on Microsoft, the location's link, leaving a Teams meeting alone). For an event whose Zoom or Webex meeting Workwae created, a new subject, start, end or recurrence moves that meeting too, and an onlineMeetingUrl other than its own join link deletes it (sending that link back replaces nothing); changing one occurrence leaves the meeting's series as it is. A missing or refused meeting connection is reported before anything changes; a service failure after the event changed is reported with the event changed (repeat the request). On an IMAP account whose CalDAV server does not schedule, an update of a meeting the account organizes is mailed from its SMTP server when it changes start, end, recurrence, location or attendees, to the attendees Workwae has indexed for it and those the request names; a missing SMTP server or too many attendees is refused before anything changes, and a send that fails after the change is logged and the change stands.

Required scope: `write`.

### Parameters

| Name | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `accountId` | path | string (uuid) | yes | Example `"6f1c2a4e-8b3d-4e5f-9a7b-1c2d3e4f5a6b"`. |
| `eventId` | path | string (uuid) | yes | Example `"b6d8444a-dc76-4be5-849f-414f1b681c88"`. |

### Request body

Content type `application/json`.

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `subject` | string | no | At most 255 characters. Example `"Quarterly report"`. |
| `body` | object | no |  |
| `body.contentType` | "text" \| "html" | yes |  |
| `body.content` | string | yes | At most 1000000 characters. |
| `location` | string | no | At most 255 characters. |
| `start` | object | no |  |
| `end` | object | no |  |
| `attendees` | object[] | no | At most 500 items. |
| `attendees[].name` | string | no | At most 256 characters. Example `"Ada Lovelace"`. |
| `attendees[].address` | string (email) | yes | At most 320 characters. Example `"ada@example.com"`. |
| `attendees[].type` | "required" \| "optional" \| "resource" | no | Default `"required"`. |
| `recurrence` | string[] | no | 1 to 20 items. |
| `showAs` | "free" \| "busy" \| "tentative" \| "oof" \| "working_elsewhere" | no |  |
| `sensitivity` | "normal" \| "personal" \| "private" \| "confidential" | no |  |
| `reminderMinutes` | integer \| null | no |  |
| `onlineMeetingUrl` | string (uri) \| null | no | Example `"https://app.example.com/"`. |
| `notify` | boolean | no | Default `true`. |

### Responses

- **200** OK (application/json, object)

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `id` | string (uuid) | yes | Example `"c4e6a8b0-1d3f-4a5c-8e7b-9d1f3a5c7e9b"`. |
| `calendarId` | string (uuid) | yes | Example `"1fccaa1f-a2df-4d43-8053-6bbb769ff90c"`. |
| `kind` | "single" \| "series" \| "occurrence" \| "exception" | yes |  |
| `seriesId` | string (uuid) \| null | yes | Example `"dea472e1-378c-4ba7-8ef7-4cf60ee33665"`. |
| `originalStart` | string (date-time) \| null | yes | Example `"2026-05-04T09:30:00.000Z"`. |
| `subject` | string \| null | yes | Example `"Quarterly report"`. |
| `snippet` | string \| null | yes | Example `"Hi Ada, the numbers for the quarter are attached."`. |
| `location` | string \| null | yes |  |
| `start` | object | yes |  |
| `start.dateTime` | string (date-time) | yes | Example `"2026-05-04T09:30:00.000Z"`. |
| `start.date` | string (date) \| null | yes | Example `"2026-05-04"`. |
| `start.timeZone` | string \| null | yes | Example `"Europe/Berlin"`. |
| `end` | object | yes |  |
| `end.dateTime` | string (date-time) | yes | Example `"2026-05-04T09:30:00.000Z"`. |
| `end.date` | string (date) \| null | yes | Example `"2026-05-04"`. |
| `end.timeZone` | string \| null | yes | Example `"Europe/Berlin"`. |
| `isAllDay` | boolean | yes |  |
| `organizer` | object \| null | yes |  |
| `organizer.name` | string \| null | yes | Example `"Ada Lovelace"`. |
| `organizer.address` | string | yes | Example `"ada@example.com"`. |
| `attendees` | object[] | yes |  |
| `attendees[].name` | string \| null | yes | Example `"Ada Lovelace"`. |
| `attendees[].address` | string | yes | Example `"ada@example.com"`. |
| `attendees[].type` | "required" \| "optional" \| "resource" | yes |  |
| `attendees[].response` | "none" \| "organizer" \| "accepted" \| "tentative" \| "declined" \| "needs_action" | yes |  |
| `isOrganizer` | boolean | yes |  |
| `selfResponse` | "none" \| "organizer" \| "accepted" \| "tentative" \| "declined" \| "needs_action" | yes |  |
| `status` | "confirmed" \| "tentative" \| "cancelled" | yes |  |
| `showAs` | "free" \| "busy" \| "tentative" \| "oof" \| "working_elsewhere" \| "unknown" | yes |  |
| `sensitivity` | "normal" \| "personal" \| "private" \| "confidential" | yes |  |
| `onlineMeetingUrl` | string \| null | yes |  |
| `onlineMeetingProvider` | string \| null | yes |  |
| `iCalUid` | string \| null | yes |  |
| `recurrence` | string[] \| null | yes |  |
| `recurrenceTimeZone` | string \| null | yes |  |
| `cancelledStarts` | string (date-time)[] \| null | yes |  |
| `categories` | string[] | yes |  |
| `hasAttachments` | boolean | yes |  |
| `reminderMinutes` | integer \| null | yes |  |
| `webLink` | string \| null | yes |  |
| `updatedAt` | string (date-time) | yes | Example `"2026-05-04T09:30:00.000Z"`. |
| `body` | object \| null | yes |  |
| `body.contentType` | "text" \| "html" | yes |  |
| `body.content` | string | yes |  |

- **Errors**, by status and `code` (see [Errors](/guides/errors)):
  - 400: `invalid_input`, `invalid_idempotency_key`, `provider_unsupported`, `provider_rejected`, `invalid_time_zone`, `mixed_event_times`, `invalid_range`, `invalid_recurrence`, `meeting_recurrence_unsupported`, `meeting_service_rejected`, `recurrence_on_instance`
  - 401: `unauthenticated`, `api_key_expired`
  - 403: `missing_scope`, `role_forbidden`, `account_token_forbidden`, `account_scope_forbidden`, `mcp_only_key`, `plan_module_unavailable`, `provider_forbidden`, `calendar_read_only`
  - 404: `account_not_found`, `calendar_event_not_found`, `provider_not_found`
  - 409: `idempotency_key_in_progress`, `calendar_disabled`, `account_paused`, `account_disabled`, `account_reauth_required`, `account_misconfigured`, `provider_conflict`, `meeting_service_not_connected`, `meeting_service_reauth_required`, `meeting_deleted`
  - 413: `payload_too_large`
  - 422: `idempotency_key_reused`
  - 429: `rate_limited`, `too_many_requests`, `provider_throttled`
  - 500: `internal_error`
  - 502: `provider_unavailable`, `meeting_service_unavailable`
  - 503: `overloaded`

## Delete an event, one occurrence, or a whole series

`DELETE /v1/accounts/{accountId}/calendar-events/{eventId}`

TypeScript SDK method: `workwae.calendarEvents.delete()`

Cancels the meeting for its attendees when the account organizes it. A Zoom or Webex meeting Workwae created for the event (a series, not one occurrence) is deleted after the provider event: a provider refusal leaves both, and once the event is gone a meeting the service cannot delete (connection gone or refused, service unreachable) is logged and stays at the service while the request still succeeds. On an IMAP account whose CalDAV server does not schedule, the cancellation is mailed from the account's SMTP server to the attendees Workwae has indexed; a missing SMTP server or too many attendees is refused before anything is deleted, and a send that fails after the deletion is logged.

Required scope: `write`.

### Parameters

| Name | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `accountId` | path | string (uuid) | yes | Example `"6f1c2a4e-8b3d-4e5f-9a7b-1c2d3e4f5a6b"`. |
| `eventId` | path | string (uuid) | yes | Example `"b6d8444a-dc76-4be5-849f-414f1b681c88"`. |
| `notify` | query | boolean \| "true" \| "false" | no | Default `true`. |
| `comment` | query | string | no | At most 2000 characters. |

### Responses

- **204** OK (application/json, any)
- **Errors**, by status and `code` (see [Errors](/guides/errors)):
  - 400: `invalid_input`, `invalid_idempotency_key`, `provider_unsupported`, `provider_rejected`
  - 401: `unauthenticated`, `api_key_expired`
  - 403: `missing_scope`, `role_forbidden`, `account_token_forbidden`, `account_scope_forbidden`, `mcp_only_key`, `plan_module_unavailable`, `provider_forbidden`, `calendar_read_only`
  - 404: `account_not_found`, `calendar_event_not_found`, `provider_not_found`
  - 409: `idempotency_key_in_progress`, `calendar_disabled`, `account_paused`, `account_disabled`, `account_reauth_required`, `account_misconfigured`, `provider_conflict`
  - 413: `payload_too_large`
  - 422: `idempotency_key_reused`
  - 429: `rate_limited`, `too_many_requests`, `provider_throttled`
  - 500: `internal_error`
  - 502: `provider_unavailable`
  - 503: `overloaded`

## Accept, tentatively accept or decline an invitation

`POST /v1/accounts/{accountId}/calendar-events/{eventId}/respond`

TypeScript SDK method: `workwae.calendarEvents.respond()`

Addressing an occurrence answers that instance; the series answers all of them. On an IMAP account whose CalDAV server does not schedule, the answer is mailed to the organizer from the account's SMTP server; a missing SMTP server is refused before anything changes, and a send that fails after the answer is recorded is logged.

Required scope: `write`.

### Parameters

| Name | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `accountId` | path | string (uuid) | yes | Example `"6f1c2a4e-8b3d-4e5f-9a7b-1c2d3e4f5a6b"`. |
| `eventId` | path | string (uuid) | yes | Example `"b6d8444a-dc76-4be5-849f-414f1b681c88"`. |

### Request body (required)

Content type `application/json`.

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `response` | "accepted" \| "tentative" \| "declined" | yes |  |
| `comment` | string | no | At most 2000 characters. |
| `notify` | boolean | no | Default `true`. |

### Responses

- **200** OK (application/json, object)

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `id` | string (uuid) | yes | Example `"c4e6a8b0-1d3f-4a5c-8e7b-9d1f3a5c7e9b"`. |
| `calendarId` | string (uuid) | yes | Example `"1fccaa1f-a2df-4d43-8053-6bbb769ff90c"`. |
| `kind` | "single" \| "series" \| "occurrence" \| "exception" | yes |  |
| `seriesId` | string (uuid) \| null | yes | Example `"dea472e1-378c-4ba7-8ef7-4cf60ee33665"`. |
| `originalStart` | string (date-time) \| null | yes | Example `"2026-05-04T09:30:00.000Z"`. |
| `subject` | string \| null | yes | Example `"Quarterly report"`. |
| `snippet` | string \| null | yes | Example `"Hi Ada, the numbers for the quarter are attached."`. |
| `location` | string \| null | yes |  |
| `start` | object | yes |  |
| `start.dateTime` | string (date-time) | yes | Example `"2026-05-04T09:30:00.000Z"`. |
| `start.date` | string (date) \| null | yes | Example `"2026-05-04"`. |
| `start.timeZone` | string \| null | yes | Example `"Europe/Berlin"`. |
| `end` | object | yes |  |
| `end.dateTime` | string (date-time) | yes | Example `"2026-05-04T09:30:00.000Z"`. |
| `end.date` | string (date) \| null | yes | Example `"2026-05-04"`. |
| `end.timeZone` | string \| null | yes | Example `"Europe/Berlin"`. |
| `isAllDay` | boolean | yes |  |
| `organizer` | object \| null | yes |  |
| `organizer.name` | string \| null | yes | Example `"Ada Lovelace"`. |
| `organizer.address` | string | yes | Example `"ada@example.com"`. |
| `attendees` | object[] | yes |  |
| `attendees[].name` | string \| null | yes | Example `"Ada Lovelace"`. |
| `attendees[].address` | string | yes | Example `"ada@example.com"`. |
| `attendees[].type` | "required" \| "optional" \| "resource" | yes |  |
| `attendees[].response` | "none" \| "organizer" \| "accepted" \| "tentative" \| "declined" \| "needs_action" | yes |  |
| `isOrganizer` | boolean | yes |  |
| `selfResponse` | "none" \| "organizer" \| "accepted" \| "tentative" \| "declined" \| "needs_action" | yes |  |
| `status` | "confirmed" \| "tentative" \| "cancelled" | yes |  |
| `showAs` | "free" \| "busy" \| "tentative" \| "oof" \| "working_elsewhere" \| "unknown" | yes |  |
| `sensitivity` | "normal" \| "personal" \| "private" \| "confidential" | yes |  |
| `onlineMeetingUrl` | string \| null | yes |  |
| `onlineMeetingProvider` | string \| null | yes |  |
| `iCalUid` | string \| null | yes |  |
| `recurrence` | string[] \| null | yes |  |
| `recurrenceTimeZone` | string \| null | yes |  |
| `cancelledStarts` | string (date-time)[] \| null | yes |  |
| `categories` | string[] | yes |  |
| `hasAttachments` | boolean | yes |  |
| `reminderMinutes` | integer \| null | yes |  |
| `webLink` | string \| null | yes |  |
| `updatedAt` | string (date-time) | yes | Example `"2026-05-04T09:30:00.000Z"`. |

- **Errors**, by status and `code` (see [Errors](/guides/errors)):
  - 400: `invalid_input`, `invalid_idempotency_key`, `provider_unsupported`, `provider_rejected`
  - 401: `unauthenticated`, `api_key_expired`
  - 403: `missing_scope`, `role_forbidden`, `account_token_forbidden`, `account_scope_forbidden`, `mcp_only_key`, `plan_module_unavailable`, `provider_forbidden`
  - 404: `account_not_found`, `calendar_event_not_found`, `provider_not_found`
  - 409: `idempotency_key_in_progress`, `calendar_disabled`, `account_paused`, `account_disabled`, `account_reauth_required`, `account_misconfigured`, `provider_conflict`, `organizer_cannot_respond`
  - 413: `payload_too_large`
  - 422: `idempotency_key_reused`
  - 429: `rate_limited`, `too_many_requests`, `provider_throttled`
  - 500: `internal_error`
  - 502: `provider_unavailable`
  - 503: `overloaded`

## Find busy times and common free slots

`POST /v1/accounts/{accountId}/availability/find`

TypeScript SDK method: `workwae.availability.find()`

A read sent as a POST, the question not fitting a URL. One provider request covers every attendee (Microsoft getSchedule, Google freeBusy.query); the answer is cached briefly per account, attendees and range. An attendee whose free/busy cannot be read (unknown address, calendar not shared) is listed in unresolved and complete is false; by default such an attendee does not constrain the suggestions, and with requireAll no suggestions are made (withheldReason unresolved_attendees).

Required scope: `read`.

### Parameters

| Name | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `accountId` | path | string (uuid) | yes | Example `"6f1c2a4e-8b3d-4e5f-9a7b-1c2d3e4f5a6b"`. |

### Request body (required)

Content type `application/json`.

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `attendees` | string (email)[] | yes | 1 to 20 items. |
| `start` | string (date-time) | yes | Example `"2026-05-04T09:30:00.000Z"`. |
| `end` | string (date-time) | yes | Example `"2026-05-04T09:30:00.000Z"`. |
| `durationMinutes` | integer | no | 5 to 1440. Default `30`. |
| `stepMinutes` | integer | no | 5 to 1440. Default `30`. |
| `timeZone` | string | no | 1 to 64 characters. Default `"UTC"`. |
| `workingHours` | object | no |  |
| `workingHours.start` | string | yes |  |
| `workingHours.end` | string | yes |  |
| `workingHours.days` | ("mon" \| "tue" \| "wed" \| "thu" \| "fri" \| "sat" \| "sun")[] | no | At least 1 item. Default `["mon","tue","wed","thu","fri"]`. |
| `maxSuggestions` | integer | no | 0 to 100. Default `10`. |
| `requireAll` | boolean | no | Default `false`. |
| `includeAccount` | boolean | no | Default `true`. |

### Responses

- **200** OK (application/json, object)

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `attendees` | object[] | yes |  |
| `attendees[].address` | string | yes | Example `"ada@example.com"`. |
| `attendees[].busy` | object[] | yes |  |
| `attendees[].busy[].start` | string (date-time) | yes | Example `"2026-05-04T09:30:00.000Z"`. |
| `attendees[].busy[].end` | string (date-time) | yes | Example `"2026-05-04T09:30:00.000Z"`. |
| `attendees[].busy[].status` | "busy" \| "tentative" \| "oof" \| "working_elsewhere" \| "unknown" | yes |  |
| `attendees[].error` | string \| null | yes |  |
| `suggestions` | object[] | yes |  |
| `suggestions[].start` | string (date-time) | yes | Example `"2026-05-04T09:30:00.000Z"`. |
| `suggestions[].end` | string (date-time) | yes | Example `"2026-05-04T09:30:00.000Z"`. |
| `complete` | boolean | yes |  |
| `unresolved` | string[] | yes |  |
| `withheldReason` | "unresolved_attendees" \| null | yes |  |

- **Errors**, by status and `code` (see [Errors](/guides/errors)):
  - 400: `invalid_input`, `invalid_idempotency_key`, `provider_unsupported`, `provider_rejected`, `invalid_range`, `invalid_time_zone`, `invalid_working_hours`
  - 401: `unauthenticated`, `api_key_expired`
  - 403: `missing_scope`, `role_forbidden`, `account_token_forbidden`, `account_scope_forbidden`, `mcp_only_key`, `plan_module_unavailable`, `provider_forbidden`
  - 404: `account_not_found`, `provider_not_found`
  - 409: `idempotency_key_in_progress`, `calendar_disabled`, `account_paused`, `account_disabled`, `account_reauth_required`, `account_misconfigured`
  - 413: `payload_too_large`
  - 422: `idempotency_key_reused`
  - 429: `rate_limited`, `too_many_requests`, `provider_throttled`
  - 500: `internal_error`
  - 502: `provider_unavailable`
  - 503: `overloaded`

## Find free slots across several accounts

`POST /v1/availability/find`

TypeScript SDK method: `workwae.availability.findForAccounts()`

Reads up to 20 of the tenant's accounts, each through its own calendar, and suggests slots where all of them are free (mode all) or at least one is (mode any, for round-robin), with the accounts free for each slot. Other attendees are looked up through the first account and must all be free in either mode. An account that cannot be read (calendar sync off, paused, needing a new sign-in, a provider failure) is listed in unresolved with its error: in mode all it does not constrain the suggestions, in mode any it is never offered as free; requireAll withholds every suggestion instead (withheldReason unresolved_attendees). A read sent as a POST, like the single-account question, and not open to credentials limited to specific accounts.

Required scope: `read`.

### Request body (required)

Content type `application/json`.

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `accountIds` | string (uuid)[] | yes | 1 to 20 items. |
| `mode` | "all" \| "any" | no | Default `"all"`. |
| `attendees` | string (email)[] | no | At most 20 items. Default `[]`. |
| `start` | string (date-time) | yes | Example `"2026-05-04T09:30:00.000Z"`. |
| `end` | string (date-time) | yes | Example `"2026-05-04T09:30:00.000Z"`. |
| `durationMinutes` | integer | no | 5 to 1440. Default `30`. |
| `stepMinutes` | integer | no | 5 to 1440. Default `30`. |
| `timeZone` | string | no | 1 to 64 characters. Default `"UTC"`. |
| `workingHours` | object | no |  |
| `workingHours.start` | string | yes |  |
| `workingHours.end` | string | yes |  |
| `workingHours.days` | ("mon" \| "tue" \| "wed" \| "thu" \| "fri" \| "sat" \| "sun")[] | no | At least 1 item. Default `["mon","tue","wed","thu","fri"]`. |
| `maxSuggestions` | integer | no | 0 to 100. Default `10`. |
| `requireAll` | boolean | no | Default `false`. |

### Responses

- **200** OK (application/json, object)

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `accounts` | object[] | yes |  |
| `accounts[].address` | string | yes | Example `"ada@example.com"`. |
| `accounts[].busy` | object[] | yes |  |
| `accounts[].busy[].start` | string (date-time) | yes | Example `"2026-05-04T09:30:00.000Z"`. |
| `accounts[].busy[].end` | string (date-time) | yes | Example `"2026-05-04T09:30:00.000Z"`. |
| `accounts[].busy[].status` | "busy" \| "tentative" \| "oof" \| "working_elsewhere" \| "unknown" | yes |  |
| `accounts[].error` | string \| null | yes |  |
| `accounts[].accountId` | string (uuid) | yes | Example `"6f1c2a4e-8b3d-4e5f-9a7b-1c2d3e4f5a6b"`. |
| `attendees` | object[] | yes |  |
| `attendees[].address` | string | yes | Example `"ada@example.com"`. |
| `attendees[].busy` | object[] | yes |  |
| `attendees[].busy[].start` | string (date-time) | yes | Example `"2026-05-04T09:30:00.000Z"`. |
| `attendees[].busy[].end` | string (date-time) | yes | Example `"2026-05-04T09:30:00.000Z"`. |
| `attendees[].busy[].status` | "busy" \| "tentative" \| "oof" \| "working_elsewhere" \| "unknown" | yes |  |
| `attendees[].error` | string \| null | yes |  |
| `suggestions` | object[] | yes |  |
| `suggestions[].start` | string (date-time) | yes | Example `"2026-05-04T09:30:00.000Z"`. |
| `suggestions[].end` | string (date-time) | yes | Example `"2026-05-04T09:30:00.000Z"`. |
| `suggestions[].accountIds` | string (uuid)[] | yes |  |
| `complete` | boolean | yes |  |
| `unresolved` | string[] | yes |  |
| `withheldReason` | "unresolved_attendees" \| null | yes |  |

- **Errors**, by status and `code` (see [Errors](/guides/errors)):
  - 400: `invalid_input`, `invalid_idempotency_key`, `invalid_range`, `invalid_time_zone`, `invalid_working_hours`
  - 401: `unauthenticated`, `api_key_expired`
  - 403: `missing_scope`, `role_forbidden`, `account_token_forbidden`, `account_scope_forbidden`, `mcp_only_key`, `plan_module_unavailable`
  - 409: `idempotency_key_in_progress`
  - 413: `payload_too_large`
  - 422: `idempotency_key_reused`, `unknown_account`
  - 429: `rate_limited`, `too_many_requests`
  - 500: `internal_error`
  - 503: `overloaded`
