# Meetings

> Meeting notes (M4b, Granola-style: no bot joins the call): 14 endpoints of the Teemli API.

Source: https://docs.teemli.com/developers/reference/meetings/

Generated from [`api/openapi.yaml`](/developers/api/) (OpenAPI 3.1). Base URL: `https://api.teemli.com`. Auth: `Authorization: Bearer <token or tml_ API key>`. Errors are `application/problem+json`; writes accept an `Idempotency-Key` header.

Meeting notes (M4b, Granola-style: no bot joins the call). The desktop app captures the microphone ("me") and
the call's audio ("them"), keeps only speech, and uploads 3–30 s WAV chunks; the api relays each chunk **in
memory** to speech-to-text on the organisation's OpenRouter key (default `microsoft/mai-transcribe-2`, fallback
`elevenlabs/scribe-v2`) and never stores audio. Organisations with a Soniox key get live transcripts instead: the
app streams straight to Soniox with a single-use key from `stt-session` and forwards finished lines to
`segments`. After the call the worker writes notes, decisions and action items; action items can be handed to an
agent as tasks. Strictly the person's own (never admins, never AI employees) — except a Teemli call's notes
(`platform: teemli`, `call_id` set), which everyone who can see the call reads; only their owner changes them.

## My meetings, newest first

```http
GET /v1/orgs/{org}/meetings
```

**API keys:** needs the `meetings:read` scope.

| Parameter | In | Type | Description |
|---|---|---|---|
| `org` (required) | path | string (uuid) | The caller's organisation id. |
| `q` | query | string | Words to find in titles, summaries, notes and transcripts |
| `limit` | query | integer |  |
| `cursor` | query | string |  |

**Responses**

- `200` A page of meetings — object
- `401` Missing, invalid or expired token — Problem

## Start taking notes (the desktop app, when the person accepts)

```http
POST /v1/orgs/{org}/meetings
```

The meeting starts in state `recording`; `transcription.mode` says whether to upload chunks or stream to Soniox.

**API keys:** not available (needs a person signed in to the app).

| Parameter | In | Type | Description |
|---|---|---|---|
| `org` (required) | path | string (uuid) | The caller's organisation id. |

**Request body** (JSON)

| Field | Type | Description |
|---|---|---|
| `title` | string |  |
| `platform` | `zoom`, `meet`, `teams`, `webex`, `other` |  |
| `app` | string | The app that held the mic, e.g. zoom.us (empty = started by hand) |
| `language` | string | Language hint (ISO-639-1); default: the person's setting, else auto-detect |

**Responses**

- `201` Recording — Meeting
- `401` Missing, invalid or expired token — Problem
- `422` Invalid input — Problem

## A meeting with its transcript

```http
GET /v1/orgs/{org}/meetings/{meeting}
```

Lines the mic picked up from the laptop's speakers (echo of the call's audio) are left out.

**API keys:** needs the `meetings:read` scope.

| Parameter | In | Type | Description |
|---|---|---|---|
| `org` (required) | path | string (uuid) | The caller's organisation id. |
| `meeting` (required) | path | string (uuid) |  |

**Responses**

- `200` Meeting — Meeting & object
- `401` Missing, invalid or expired token — Problem
- `404` Not found (also returned for rows the caller may not see, and for disabled features) — Problem

## Rename a meeting

```http
PATCH /v1/orgs/{org}/meetings/{meeting}
```

**API keys:** not available (needs a person signed in to the app).

| Parameter | In | Type | Description |
|---|---|---|---|
| `org` (required) | path | string (uuid) | The caller's organisation id. |
| `meeting` (required) | path | string (uuid) |  |

**Request body** (JSON)

| Field | Type | Description |
|---|---|---|
| `title` | string |  |

**Responses**

- `200` Renamed — Meeting
- `404` Not found (also returned for rows the caller may not see, and for disabled features) — Problem

## Delete a meeting (transcript and notes)

```http
DELETE /v1/orgs/{org}/meetings/{meeting}
```

Tasks already handed to agents stay. Live `meeting.deleted`.

**API keys:** not available (needs a person signed in to the app).

| Parameter | In | Type | Description |
|---|---|---|---|
| `org` (required) | path | string (uuid) | The caller's organisation id. |
| `meeting` (required) | path | string (uuid) |  |

**Responses**

- `204` Deleted
- `404` Not found (also returned for rows the caller may not see, and for disabled features) — Problem

## Transcribe one speech chunk (relayed in memory, never stored)

```http
POST /v1/orgs/{org}/meetings/{meeting}/chunks
```

Body: a 16-bit PCM WAV (16 kHz mono recommended), 0.3–35 s, at most 2 MB. The api sends it to speech-to-text
(diarization on the `them` stream), saves the lines with times from the meeting start, and drops the audio.
Uploading the same (stream, seq) again returns the first result without a second transcription.
409: the meeting isn't recording (or the chunk is still being transcribed: retry shortly). 422: retrying won't help
(bad audio, the key was rejected, out of credits). 503: speech-to-text is down: retry with backoff.

**API keys:** not available (needs a person signed in to the app).

| Parameter | In | Type | Description |
|---|---|---|---|
| `org` (required) | path | string (uuid) | The caller's organisation id. |
| `meeting` (required) | path | string (uuid) |  |
| `stream` (required) | query | `me`, `them` |  |
| `seq` (required) | query | integer |  |
| `start_ms` | query | integer | Where the chunk starts, from the meeting start |

**Request body:** `audio/wav`.

**Responses**

- `200` Transcribed — object
- `404` Not found (also returned for rows the caller may not see, and for disabled features) — Problem
- `409` Conflicting state (card already answered, duplicate in flight, name taken) — Problem
- `422` Invalid input — Problem
- `503` A dependency (e.g. the sign-in service) is unavailable — Problem

## A single-use Soniox key for one live stream (organisations with a Soniox key)

```http
POST /v1/orgs/{org}/meetings/{meeting}/stt-session
```

Valid 60 s to connect, single use, session capped at 4 h. The app connects to `ws_url` with
`Authorization: Bearer <api_key>`, sends `config` (+ `model`) as the first text frame, then PCM frames.
409 with a detail starting "chunked": this organisation transcribes through OpenRouter — upload chunks.

**API keys:** not available (needs a person signed in to the app).

| Parameter | In | Type | Description |
|---|---|---|---|
| `org` (required) | path | string (uuid) | The caller's organisation id. |
| `meeting` (required) | path | string (uuid) |  |

**Request body** (JSON)

| Field | Type | Description |
|---|---|---|
| `stream` (required) | `me`, `them` |  |

**Responses**

- `200` A temporary key — object
- `404` Not found (also returned for rows the caller may not see, and for disabled features) — Problem
- `409` Conflicting state (card already answered, duplicate in flight, name taken) — Problem

## Save finished lines (live path; the app forwards them from Soniox)

```http
POST /v1/orgs/{org}/meetings/{meeting}/segments
```

Same (stream, seq) twice saves nothing new. Cost is estimated from `audio_seconds` at Soniox's list price.

**API keys:** not available (needs a person signed in to the app).

| Parameter | In | Type | Description |
|---|---|---|---|
| `org` (required) | path | string (uuid) | The caller's organisation id. |
| `meeting` (required) | path | string (uuid) |  |

**Request body** (JSON)

| Field | Type | Description |
|---|---|---|
| `stream` (required) | `me`, `them` |  |
| `seq` (required) | integer |  |
| `audio_seconds` | number |  |
| `segments` (required) | array of object |  |

**Responses**

- `200` Saved — object
- `409` Conflicting state (card already answered, duplicate in flight, name taken) — Problem

## Stop taking notes; the notes are written next

```http
POST /v1/orgs/{org}/meetings/{meeting}/end
```

State becomes `processing`; the worker writes notes and sends `meeting.updated` (`ready` or `failed`). Ending twice is fine.

**API keys:** not available (needs a person signed in to the app).

| Parameter | In | Type | Description |
|---|---|---|---|
| `org` (required) | path | string (uuid) | The caller's organisation id. |
| `meeting` (required) | path | string (uuid) |  |

**Responses**

- `202` Writing notes — Meeting
- `404` Not found (also returned for rows the caller may not see, and for disabled features) — Problem

## Write the notes again ("Try again" after a failure)

```http
POST /v1/orgs/{org}/meetings/{meeting}/notes
```

Only when the meeting is `ready` or `failed`. Tasks already handed off stay linked.

**API keys:** not available (needs a person signed in to the app).

| Parameter | In | Type | Description |
|---|---|---|---|
| `org` (required) | path | string (uuid) | The caller's organisation id. |
| `meeting` (required) | path | string (uuid) |  |

**Responses**

- `202` Writing notes — Meeting
- `409` Conflicting state (card already answered, duplicate in flight, name taken) — Problem

## Hand an action item to an agent (creates a task)

```http
POST /v1/orgs/{org}/meetings/{meeting}/action-items/{item}/hand-off
```

Starts a task for the agent with the item, its owner/due date and the call's summary (personal agents can read the
full notes with `meetings.get`). Handing off the same item again returns the existing task (200).

**API keys:** not available (needs a person signed in to the app).

| Parameter | In | Type | Description |
|---|---|---|---|
| `org` (required) | path | string (uuid) | The caller's organisation id. |
| `meeting` (required) | path | string (uuid) |  |
| `item` (required) | path | string | Action item id, e.g. a1 |

**Request body** (JSON)

| Field | Type | Description |
|---|---|---|
| `agent_id` (required) | string (uuid) |  |

**Responses**

- `201` Task started — object
- `404` Not found (also returned for rows the caller may not see, and for disabled features) — Problem
- `422` Invalid input — Problem

## Add an action item to the Tasks module (the notes' owner confirms project and assignee)

```http
POST /v1/orgs/{org}/meetings/{meeting}/action-items/{item}/work-item
```

Creates a work item with the item's text (suggested owner and due date in its description). Tasks module only;
only the person who owns the notes. Adding the same item again returns the existing work item (200).

**API keys:** not available (needs a person signed in to the app).

| Parameter | In | Type | Description |
|---|---|---|---|
| `org` (required) | path | string (uuid) | The caller's organisation id. |
| `meeting` (required) | path | string (uuid) |  |
| `item` (required) | path | string | Action item id, e.g. a1 |

**Request body** (JSON)

| Field | Type | Description |
|---|---|---|
| `project_id` (required) | string (uuid) |  |
| `assignee_person_id` | string \\| null (uuid) |  |
| `assignee_agent_id` | string \\| null (uuid) | An AI employee |

**Responses**

- `201` Work item created — object
- `403` Authenticated but not allowed (e.g. unverified email, not the agent's controller, card routed to someone else) — Problem
- `404` Not found (also returned for rows the caller may not see, and for disabled features) — Problem
- `422` Invalid input — Problem

## Meeting-notes settings (mine, the organisation's, and the attendee reminder for my country)

```http
GET /v1/orgs/{org}/settings/meetings
```

**API keys:** not available (needs a person signed in to the app).

| Parameter | In | Type | Description |
|---|---|---|---|
| `org` (required) | path | string (uuid) | The caller's organisation id. |

**Responses**

- `200` Settings — MeetingSettings

## Change my meeting preferences, or (admins) how the organisation transcribes

```http
PUT /v1/orgs/{org}/settings/meetings
```

`org` is for owners and admins (403 otherwise). `soniox_key` is write-only: checked with Soniox, kept in the vault
(only a hint is shown), `""` removes it and goes back to OpenRouter. In countries where everyone must agree
(`rule: required`) `remind_attendees` stays on.

**API keys:** not available (needs a person signed in to the app).

| Parameter | In | Type | Description |
|---|---|---|---|
| `org` (required) | path | string (uuid) | The caller's organisation id. |

**Request body** (JSON)

| Field | Type | Description |
|---|---|---|
| `person` | object |  |
| `org` | object |  |

**Responses**

- `200` Settings — MeetingSettings
- `403` Authenticated but not allowed (e.g. unverified email, not the agent's controller, card routed to someone else) — Problem
- `422` Invalid input — Problem
