# Scheduling

> Scheduling links, their open slots, and bookings.

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

Guides: [Scheduling links and bookings](/guides/scheduling).

| Method | Path | Operation | Scope |
| --- | --- | --- | --- |
| `GET` | `/v1/scheduling-links` | [List scheduling links](#list-scheduling-links) | `read` |
| `POST` | `/v1/scheduling-links` | [Create a scheduling link](#create-a-scheduling-link) | `write` |
| `GET` | `/v1/scheduling-links/{linkId}` | [Get a scheduling link](#get-a-scheduling-link) | `read` |
| `PATCH` | `/v1/scheduling-links/{linkId}` | [Update a scheduling link](#update-a-scheduling-link) | `write` |
| `DELETE` | `/v1/scheduling-links/{linkId}` | [Delete a scheduling link](#delete-a-scheduling-link) | `write` |
| `GET` | `/v1/scheduling-links/{linkId}/slots` | [List bookable slots](#list-bookable-slots) | `read` |
| `POST` | `/v1/scheduling-links/{linkId}/bookings` | [Book a slot](#book-a-slot) | `write` |
| `DELETE` | `/v1/bookings/{bookingId}` | [Cancel a booking](#cancel-a-booking) | `write` |

## List scheduling links

`GET /v1/scheduling-links`

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

Newest first.

Required scope: `read`.

### Parameters

| Name | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `limit` | query | integer | no | 1 to 1000. 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[].name` | string | yes | 1 to 100 characters. |
| `items[].accountIds` | string (uuid)[] | yes | 1 to 20 items. |
| `items[].mode` | "all" \| "any" | no | Default `"all"`. |
| `items[].durationMinutes` | integer | no | 5 to 1440. Default `30`. |
| `items[].stepMinutes` | integer | no | 5 to 1440. Default `30`. |
| `items[].windowDays` | integer | no | 1 to 365. Default `14`. |
| `items[].timeZone` | string | yes | 1 to 64 characters. Example `"Europe/Berlin"`. |
| `items[].hours` | object | no | Default `{"mon":[{"start":"09:00","end":"17:00"}],"tue":[{"start":"09:00","end":"17:00"}],"wed":[{"start":"09:00","end":"17:00"}],"thu":[{"start":"09:00","end":"17:00"}],"fri":[{"start":"09:00","end":"17:00"}]}`. |
| `items[].hours.mon` | object[] | no | At most 8 items. |
| `items[].hours.tue` | object[] | no | At most 8 items. |
| `items[].hours.wed` | object[] | no | At most 8 items. |
| `items[].hours.thu` | object[] | no | At most 8 items. |
| `items[].hours.fri` | object[] | no | At most 8 items. |
| `items[].hours.sat` | object[] | no | At most 8 items. |
| `items[].hours.sun` | object[] | no | At most 8 items. |
| `items[].bufferBeforeMinutes` | integer | no | 0 to 1440. Default `0`. |
| `items[].bufferAfterMinutes` | integer | no | 0 to 1440. Default `0`. |
| `items[].minimumNoticeMinutes` | integer | no | 0 to 86400. Default `0`. |
| `items[].maxPerDay` | integer \| null | no | Default `null`. |
| `items[].title` | string | no | 1 to 255 characters. Default `"{{invitee}}"`. |
| `items[].description` | string | no | At most 10000 characters. Example `"Production"`. |
| `items[].location` | string | no | At most 255 characters. |
| `items[].onlineMeeting` | boolean | no | Default `false`. |
| `items[].onlineMeetingService` | "zoom" \| "webex" | no |  |
| `items[].id` | string (uuid) | yes | Example `"c4e6a8b0-1d3f-4a5c-8e7b-9d1f3a5c7e9b"`. |
| `items[].createdAt` | string (date-time) | yes | Example `"2026-05-04T09:30:00.000Z"`. |
| `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`
  - 401: `unauthenticated`, `api_key_expired`
  - 403: `missing_scope`, `role_forbidden`, `account_token_forbidden`, `account_scope_forbidden`, `mcp_only_key`
  - 409: `idempotency_key_in_progress`
  - 413: `payload_too_large`
  - 422: `idempotency_key_reused`
  - 429: `rate_limited`, `too_many_requests`
  - 500: `internal_error`
  - 503: `overloaded`

## Create a scheduling link

`POST /v1/scheduling-links`

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

accountIds are accounts of the tenant whose calendars the link offers. mode all books every account into one event; mode any books one of them, the one with the fewest bookings of this link in the last 30 days (any status), the earliest in accountIds when tied.

Required scope: `write`.

### Request body (required)

Content type `application/json`.

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `name` | string | yes | 1 to 100 characters. |
| `accountIds` | string (uuid)[] | yes | 1 to 20 items. |
| `mode` | "all" \| "any" | no | Default `"all"`. |
| `durationMinutes` | integer | no | 5 to 1440. Default `30`. |
| `stepMinutes` | integer | no | 5 to 1440. Default `30`. |
| `windowDays` | integer | no | 1 to 365. Default `14`. |
| `timeZone` | string | yes | 1 to 64 characters. Example `"Europe/Berlin"`. |
| `hours` | object | no | Default `{"mon":[{"start":"09:00","end":"17:00"}],"tue":[{"start":"09:00","end":"17:00"}],"wed":[{"start":"09:00","end":"17:00"}],"thu":[{"start":"09:00","end":"17:00"}],"fri":[{"start":"09:00","end":"17:00"}]}`. |
| `hours.mon` | object[] | no | At most 8 items. |
| `hours.mon[].start` | string | yes |  |
| `hours.mon[].end` | string | yes |  |
| `hours.tue` | object[] | no | At most 8 items. |
| `hours.tue[].start` | string | yes |  |
| `hours.tue[].end` | string | yes |  |
| `hours.wed` | object[] | no | At most 8 items. |
| `hours.wed[].start` | string | yes |  |
| `hours.wed[].end` | string | yes |  |
| `hours.thu` | object[] | no | At most 8 items. |
| `hours.thu[].start` | string | yes |  |
| `hours.thu[].end` | string | yes |  |
| `hours.fri` | object[] | no | At most 8 items. |
| `hours.fri[].start` | string | yes |  |
| `hours.fri[].end` | string | yes |  |
| `hours.sat` | object[] | no | At most 8 items. |
| `hours.sat[].start` | string | yes |  |
| `hours.sat[].end` | string | yes |  |
| `hours.sun` | object[] | no | At most 8 items. |
| `hours.sun[].start` | string | yes |  |
| `hours.sun[].end` | string | yes |  |
| `bufferBeforeMinutes` | integer | no | 0 to 1440. Default `0`. |
| `bufferAfterMinutes` | integer | no | 0 to 1440. Default `0`. |
| `minimumNoticeMinutes` | integer | no | 0 to 86400. Default `0`. |
| `maxPerDay` | integer \| null | no | Default `null`. |
| `title` | string | no | 1 to 255 characters. Default `"{{invitee}}"`. |
| `description` | string | no | At most 10000 characters. Example `"Production"`. |
| `location` | string | no | At most 255 characters. |
| `onlineMeeting` | boolean | no | Default `false`. |
| `onlineMeetingService` | "zoom" \| "webex" | no |  |

### Responses

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

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `name` | string | yes | 1 to 100 characters. |
| `accountIds` | string (uuid)[] | yes | 1 to 20 items. |
| `mode` | "all" \| "any" | no | Default `"all"`. |
| `durationMinutes` | integer | no | 5 to 1440. Default `30`. |
| `stepMinutes` | integer | no | 5 to 1440. Default `30`. |
| `windowDays` | integer | no | 1 to 365. Default `14`. |
| `timeZone` | string | yes | 1 to 64 characters. Example `"Europe/Berlin"`. |
| `hours` | object | no | Default `{"mon":[{"start":"09:00","end":"17:00"}],"tue":[{"start":"09:00","end":"17:00"}],"wed":[{"start":"09:00","end":"17:00"}],"thu":[{"start":"09:00","end":"17:00"}],"fri":[{"start":"09:00","end":"17:00"}]}`. |
| `hours.mon` | object[] | no | At most 8 items. |
| `hours.mon[].start` | string | yes |  |
| `hours.mon[].end` | string | yes |  |
| `hours.tue` | object[] | no | At most 8 items. |
| `hours.tue[].start` | string | yes |  |
| `hours.tue[].end` | string | yes |  |
| `hours.wed` | object[] | no | At most 8 items. |
| `hours.wed[].start` | string | yes |  |
| `hours.wed[].end` | string | yes |  |
| `hours.thu` | object[] | no | At most 8 items. |
| `hours.thu[].start` | string | yes |  |
| `hours.thu[].end` | string | yes |  |
| `hours.fri` | object[] | no | At most 8 items. |
| `hours.fri[].start` | string | yes |  |
| `hours.fri[].end` | string | yes |  |
| `hours.sat` | object[] | no | At most 8 items. |
| `hours.sat[].start` | string | yes |  |
| `hours.sat[].end` | string | yes |  |
| `hours.sun` | object[] | no | At most 8 items. |
| `hours.sun[].start` | string | yes |  |
| `hours.sun[].end` | string | yes |  |
| `bufferBeforeMinutes` | integer | no | 0 to 1440. Default `0`. |
| `bufferAfterMinutes` | integer | no | 0 to 1440. Default `0`. |
| `minimumNoticeMinutes` | integer | no | 0 to 86400. Default `0`. |
| `maxPerDay` | integer \| null | no | Default `null`. |
| `title` | string | no | 1 to 255 characters. Default `"{{invitee}}"`. |
| `description` | string | no | At most 10000 characters. Example `"Production"`. |
| `location` | string | no | At most 255 characters. |
| `onlineMeeting` | boolean | no | Default `false`. |
| `onlineMeetingService` | "zoom" \| "webex" | no |  |
| `id` | string (uuid) | yes | Example `"c4e6a8b0-1d3f-4a5c-8e7b-9d1f3a5c7e9b"`. |
| `createdAt` | string (date-time) | yes | Example `"2026-05-04T09:30:00.000Z"`. |
| `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`, `invalid_time_zone`, `invalid_working_hours`, `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`
  - 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`

## Get a scheduling link

`GET /v1/scheduling-links/{linkId}`

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

Required scope: `read`.

### Parameters

| Name | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `linkId` | path | string (uuid) | yes | Example `"a6670f08-11c3-4f9a-891f-1622bd1334a5"`. |

### Responses

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

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `name` | string | yes | 1 to 100 characters. |
| `accountIds` | string (uuid)[] | yes | 1 to 20 items. |
| `mode` | "all" \| "any" | no | Default `"all"`. |
| `durationMinutes` | integer | no | 5 to 1440. Default `30`. |
| `stepMinutes` | integer | no | 5 to 1440. Default `30`. |
| `windowDays` | integer | no | 1 to 365. Default `14`. |
| `timeZone` | string | yes | 1 to 64 characters. Example `"Europe/Berlin"`. |
| `hours` | object | no | Default `{"mon":[{"start":"09:00","end":"17:00"}],"tue":[{"start":"09:00","end":"17:00"}],"wed":[{"start":"09:00","end":"17:00"}],"thu":[{"start":"09:00","end":"17:00"}],"fri":[{"start":"09:00","end":"17:00"}]}`. |
| `hours.mon` | object[] | no | At most 8 items. |
| `hours.mon[].start` | string | yes |  |
| `hours.mon[].end` | string | yes |  |
| `hours.tue` | object[] | no | At most 8 items. |
| `hours.tue[].start` | string | yes |  |
| `hours.tue[].end` | string | yes |  |
| `hours.wed` | object[] | no | At most 8 items. |
| `hours.wed[].start` | string | yes |  |
| `hours.wed[].end` | string | yes |  |
| `hours.thu` | object[] | no | At most 8 items. |
| `hours.thu[].start` | string | yes |  |
| `hours.thu[].end` | string | yes |  |
| `hours.fri` | object[] | no | At most 8 items. |
| `hours.fri[].start` | string | yes |  |
| `hours.fri[].end` | string | yes |  |
| `hours.sat` | object[] | no | At most 8 items. |
| `hours.sat[].start` | string | yes |  |
| `hours.sat[].end` | string | yes |  |
| `hours.sun` | object[] | no | At most 8 items. |
| `hours.sun[].start` | string | yes |  |
| `hours.sun[].end` | string | yes |  |
| `bufferBeforeMinutes` | integer | no | 0 to 1440. Default `0`. |
| `bufferAfterMinutes` | integer | no | 0 to 1440. Default `0`. |
| `minimumNoticeMinutes` | integer | no | 0 to 86400. Default `0`. |
| `maxPerDay` | integer \| null | no | Default `null`. |
| `title` | string | no | 1 to 255 characters. Default `"{{invitee}}"`. |
| `description` | string | no | At most 10000 characters. Example `"Production"`. |
| `location` | string | no | At most 255 characters. |
| `onlineMeeting` | boolean | no | Default `false`. |
| `onlineMeetingService` | "zoom" \| "webex" | no |  |
| `id` | string (uuid) | yes | Example `"c4e6a8b0-1d3f-4a5c-8e7b-9d1f3a5c7e9b"`. |
| `createdAt` | string (date-time) | yes | Example `"2026-05-04T09:30:00.000Z"`. |
| `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`
  - 401: `unauthenticated`, `api_key_expired`
  - 403: `missing_scope`, `role_forbidden`, `account_token_forbidden`, `account_scope_forbidden`, `mcp_only_key`
  - 404: `scheduling_link_not_found`
  - 409: `idempotency_key_in_progress`
  - 413: `payload_too_large`
  - 422: `idempotency_key_reused`
  - 429: `rate_limited`, `too_many_requests`
  - 500: `internal_error`
  - 503: `overloaded`

## Update a scheduling link

`PATCH /v1/scheduling-links/{linkId}`

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

Only the fields given change. Existing bookings keep their events.

Required scope: `write`.

### Parameters

| Name | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `linkId` | path | string (uuid) | yes | Example `"a6670f08-11c3-4f9a-891f-1622bd1334a5"`. |

### Request body

Content type `application/json`.

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `name` | string | no | 1 to 100 characters. |
| `accountIds` | string (uuid)[] | no | 1 to 20 items. |
| `mode` | "all" \| "any" | no | Default `"all"`. |
| `durationMinutes` | integer | no | 5 to 1440. Default `30`. |
| `stepMinutes` | integer | no | 5 to 1440. Default `30`. |
| `windowDays` | integer | no | 1 to 365. Default `14`. |
| `timeZone` | string | no | 1 to 64 characters. Example `"Europe/Berlin"`. |
| `hours` | object | no | Default `{"mon":[{"start":"09:00","end":"17:00"}],"tue":[{"start":"09:00","end":"17:00"}],"wed":[{"start":"09:00","end":"17:00"}],"thu":[{"start":"09:00","end":"17:00"}],"fri":[{"start":"09:00","end":"17:00"}]}`. |
| `hours.mon` | object[] | no | At most 8 items. |
| `hours.mon[].start` | string | yes |  |
| `hours.mon[].end` | string | yes |  |
| `hours.tue` | object[] | no | At most 8 items. |
| `hours.tue[].start` | string | yes |  |
| `hours.tue[].end` | string | yes |  |
| `hours.wed` | object[] | no | At most 8 items. |
| `hours.wed[].start` | string | yes |  |
| `hours.wed[].end` | string | yes |  |
| `hours.thu` | object[] | no | At most 8 items. |
| `hours.thu[].start` | string | yes |  |
| `hours.thu[].end` | string | yes |  |
| `hours.fri` | object[] | no | At most 8 items. |
| `hours.fri[].start` | string | yes |  |
| `hours.fri[].end` | string | yes |  |
| `hours.sat` | object[] | no | At most 8 items. |
| `hours.sat[].start` | string | yes |  |
| `hours.sat[].end` | string | yes |  |
| `hours.sun` | object[] | no | At most 8 items. |
| `hours.sun[].start` | string | yes |  |
| `hours.sun[].end` | string | yes |  |
| `bufferBeforeMinutes` | integer | no | 0 to 1440. Default `0`. |
| `bufferAfterMinutes` | integer | no | 0 to 1440. Default `0`. |
| `minimumNoticeMinutes` | integer | no | 0 to 86400. Default `0`. |
| `maxPerDay` | integer \| null | no |  |
| `title` | string | no | 1 to 255 characters. Default `"{{invitee}}"`. |
| `description` | string \| null | no | Example `"Production"`. |
| `location` | string \| null | no |  |
| `onlineMeeting` | boolean | no | Default `false`. |
| `onlineMeetingService` | "zoom" \| "webex" \| null | no |  |

### Responses

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

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `name` | string | yes | 1 to 100 characters. |
| `accountIds` | string (uuid)[] | yes | 1 to 20 items. |
| `mode` | "all" \| "any" | no | Default `"all"`. |
| `durationMinutes` | integer | no | 5 to 1440. Default `30`. |
| `stepMinutes` | integer | no | 5 to 1440. Default `30`. |
| `windowDays` | integer | no | 1 to 365. Default `14`. |
| `timeZone` | string | yes | 1 to 64 characters. Example `"Europe/Berlin"`. |
| `hours` | object | no | Default `{"mon":[{"start":"09:00","end":"17:00"}],"tue":[{"start":"09:00","end":"17:00"}],"wed":[{"start":"09:00","end":"17:00"}],"thu":[{"start":"09:00","end":"17:00"}],"fri":[{"start":"09:00","end":"17:00"}]}`. |
| `hours.mon` | object[] | no | At most 8 items. |
| `hours.mon[].start` | string | yes |  |
| `hours.mon[].end` | string | yes |  |
| `hours.tue` | object[] | no | At most 8 items. |
| `hours.tue[].start` | string | yes |  |
| `hours.tue[].end` | string | yes |  |
| `hours.wed` | object[] | no | At most 8 items. |
| `hours.wed[].start` | string | yes |  |
| `hours.wed[].end` | string | yes |  |
| `hours.thu` | object[] | no | At most 8 items. |
| `hours.thu[].start` | string | yes |  |
| `hours.thu[].end` | string | yes |  |
| `hours.fri` | object[] | no | At most 8 items. |
| `hours.fri[].start` | string | yes |  |
| `hours.fri[].end` | string | yes |  |
| `hours.sat` | object[] | no | At most 8 items. |
| `hours.sat[].start` | string | yes |  |
| `hours.sat[].end` | string | yes |  |
| `hours.sun` | object[] | no | At most 8 items. |
| `hours.sun[].start` | string | yes |  |
| `hours.sun[].end` | string | yes |  |
| `bufferBeforeMinutes` | integer | no | 0 to 1440. Default `0`. |
| `bufferAfterMinutes` | integer | no | 0 to 1440. Default `0`. |
| `minimumNoticeMinutes` | integer | no | 0 to 86400. Default `0`. |
| `maxPerDay` | integer \| null | no | Default `null`. |
| `title` | string | no | 1 to 255 characters. Default `"{{invitee}}"`. |
| `description` | string | no | At most 10000 characters. Example `"Production"`. |
| `location` | string | no | At most 255 characters. |
| `onlineMeeting` | boolean | no | Default `false`. |
| `onlineMeetingService` | "zoom" \| "webex" | no |  |
| `id` | string (uuid) | yes | Example `"c4e6a8b0-1d3f-4a5c-8e7b-9d1f3a5c7e9b"`. |
| `createdAt` | string (date-time) | yes | Example `"2026-05-04T09:30:00.000Z"`. |
| `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`, `invalid_time_zone`, `invalid_working_hours`, `multiple_meeting_options`
  - 401: `unauthenticated`, `api_key_expired`
  - 403: `missing_scope`, `role_forbidden`, `account_token_forbidden`, `account_scope_forbidden`, `mcp_only_key`
  - 404: `scheduling_link_not_found`
  - 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`

## Delete a scheduling link

`DELETE /v1/scheduling-links/{linkId}`

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

Bookings of the link are deleted with it. Their events are left as they are.

Required scope: `write`.

### Parameters

| Name | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `linkId` | path | string (uuid) | yes | Example `"a6670f08-11c3-4f9a-891f-1622bd1334a5"`. |

### Responses

- **204** OK (application/json, any)
- **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`
  - 404: `scheduling_link_not_found`
  - 409: `idempotency_key_in_progress`
  - 413: `payload_too_large`
  - 422: `idempotency_key_reused`
  - 429: `rate_limited`, `too_many_requests`
  - 500: `internal_error`
  - 503: `overloaded`

## List bookable slots

`GET /v1/scheduling-links/{linkId}/slots`

TypeScript SDK method: `workwae.schedulingLinks.slots()`

Slots inside the link's window (windowDays ahead of now, in its time zone), not before its minimum notice, inside its hours, clear of each account's own calendar once widened by the buffers, and under maxPerDay. from and to narrow that range. accountIds on a slot are the accounts free for it.

Required scope: `read`.

### Parameters

| Name | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `linkId` | path | string (uuid) | yes | Example `"a6670f08-11c3-4f9a-891f-1622bd1334a5"`. |
| `from` | query | string (date-time) | no | Example `"2026-05-04T09:30:00.000Z"`. |
| `to` | query | string (date-time) | no | Example `"2026-05-04T09:30:00.000Z"`. |
| `limit` | query | integer | no | 1 to 1000. Default `200`. |

### Responses

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

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `items` | object[] | yes |  |
| `items[].start` | string (date-time) | yes | Example `"2026-05-04T09:30:00.000Z"`. |
| `items[].end` | string (date-time) | yes | Example `"2026-05-04T09:30:00.000Z"`. |
| `items[].accountIds` | string (uuid)[] | yes |  |

- **Errors**, by status and `code` (see [Errors](/guides/errors)):
  - 400: `invalid_input`, `invalid_idempotency_key`, `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: `scheduling_link_not_found`
  - 409: `idempotency_key_in_progress`
  - 413: `payload_too_large`
  - 422: `idempotency_key_reused`
  - 429: `rate_limited`, `too_many_requests`
  - 500: `internal_error`
  - 503: `overloaded`

## Book a slot

`POST /v1/scheduling-links/{linkId}/bookings`

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

Books start only when it is one of the link's slots at that moment. mode any hosts it on the account with the fewest bookings of this link in the last 30 days among those free then (the earliest in accountIds when tied); mode all creates the event on the first account and invites the others. The invitee is an attendee. The slot is claimed in the database before the event is created, so two bookings of the same account and start cannot both succeed (slot_taken). Sends booking.created.

Required scope: `write`.

### Parameters

| Name | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `linkId` | path | string (uuid) | yes | Example `"a6670f08-11c3-4f9a-891f-1622bd1334a5"`. |

### Request body (required)

Content type `application/json`.

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `start` | string (date-time) | yes | Example `"2026-05-04T09:30:00.000Z"`. |
| `invitee` | object | yes |  |
| `invitee.name` | string | no | At most 256 characters. Example `"Ada Lovelace"`. |
| `invitee.address` | string (email) | yes | At most 320 characters. Example `"ada@example.com"`. |
| `notes` | string | no | At most 2000 characters. |

### Responses

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

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `id` | string (uuid) | yes | Example `"c4e6a8b0-1d3f-4a5c-8e7b-9d1f3a5c7e9b"`. |
| `linkId` | string (uuid) | yes | Example `"a6670f08-11c3-4f9a-891f-1622bd1334a5"`. |
| `accountId` | string (uuid) | yes | Example `"6f1c2a4e-8b3d-4e5f-9a7b-1c2d3e4f5a6b"`. |
| `eventId` | string (uuid) \| null | yes | Example `"b6d8444a-dc76-4be5-849f-414f1b681c88"`. |
| `start` | string (date-time) | yes | Example `"2026-05-04T09:30:00.000Z"`. |
| `end` | string (date-time) | yes | Example `"2026-05-04T09:30:00.000Z"`. |
| `invitee` | object | yes |  |
| `invitee.name` | string | no | At most 256 characters. Example `"Ada Lovelace"`. |
| `invitee.address` | string (email) | yes | At most 320 characters. Example `"ada@example.com"`. |
| `notes` | string \| null | yes |  |
| `status` | "booked" \| "cancelled" | yes |  |
| `createdAt` | string (date-time) | yes | Example `"2026-05-04T09:30:00.000Z"`. |
| `cancelledAt` | string (date-time) \| null | 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`, `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: `scheduling_link_not_found`, `provider_not_found`, `calendar_not_found`
  - 409: `idempotency_key_in_progress`, `account_paused`, `account_disabled`, `account_reauth_required`, `account_misconfigured`, `provider_conflict`, `meeting_service_not_connected`, `meeting_service_reauth_required`, `slot_unavailable`, `slot_taken`, `calendar_disabled`
  - 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`

## Cancel a booking

`DELETE /v1/bookings/{bookingId}`

TypeScript SDK method: `workwae.bookings.cancel()`

Deletes the event (telling its attendees) and marks the booking cancelled. Sends booking.cancelled. An event already gone is still a successful cancel.

Required scope: `write`.

### Parameters

| Name | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `bookingId` | path | string (uuid) | yes | Example `"e2cbbf01-50a4-43e6-a0eb-8f4b37e7ec0a"`. |

### Responses

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

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `id` | string (uuid) | yes | Example `"c4e6a8b0-1d3f-4a5c-8e7b-9d1f3a5c7e9b"`. |
| `linkId` | string (uuid) | yes | Example `"a6670f08-11c3-4f9a-891f-1622bd1334a5"`. |
| `accountId` | string (uuid) | yes | Example `"6f1c2a4e-8b3d-4e5f-9a7b-1c2d3e4f5a6b"`. |
| `eventId` | string (uuid) \| null | yes | Example `"b6d8444a-dc76-4be5-849f-414f1b681c88"`. |
| `start` | string (date-time) | yes | Example `"2026-05-04T09:30:00.000Z"`. |
| `end` | string (date-time) | yes | Example `"2026-05-04T09:30:00.000Z"`. |
| `invitee` | object | yes |  |
| `invitee.name` | string | no | At most 256 characters. Example `"Ada Lovelace"`. |
| `invitee.address` | string (email) | yes | At most 320 characters. Example `"ada@example.com"`. |
| `notes` | string \| null | yes |  |
| `status` | "booked" \| "cancelled" | yes |  |
| `createdAt` | string (date-time) | yes | Example `"2026-05-04T09:30:00.000Z"`. |
| `cancelledAt` | string (date-time) \| null | 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: `provider_not_found`, `booking_not_found`
  - 409: `idempotency_key_in_progress`, `account_paused`, `account_disabled`, `account_reauth_required`, `account_misconfigured`, `booking_cancelled`, `calendar_disabled`
  - 413: `payload_too_large`
  - 422: `idempotency_key_reused`
  - 429: `rate_limited`, `too_many_requests`, `provider_throttled`
  - 500: `internal_error`
  - 502: `provider_unavailable`
  - 503: `overloaded`
