Skip to content

Generated from api/openapi.yaml (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.

Meetings module (M8b, product.md 7.16): calls on self-hosted LiveKit. Every /calls/* route returns 404 while the organisation’s meetings switch is off. Huddles start in a channel or DM (one live huddle per channel; starting again joins it; DMs ring the other people); their chat is the thread of the “started a huddle” message. Meetings are scheduled with a join link (/j/<code>): colleagues who open it become invitees; guests without an account knock in a lobby (/v1/calls/lobby/…) and someone in the call lets them in. POST …/join returns a short-lived LiveKit token only to people who can see the call (channel members, readers of a public channel, the host, invitees, people who were in it — RLS decides; everyone else gets 404). Identities: p:<person>, g:<lobby entry>, agent:<agent>, notes:<call>. Participants are recorded only from LiveKit’s signed webhooks. AI notes: anyone who can see a live call turns them on (PUT …/notes); everyone in the call sees it; the media worker joins as “AI notes”, relays each person’s speech in memory to speech-to-text (never stored) and the notes (M4b pipeline) are posted to the call’s thread. Agents show their computer screen (view only): your own agent, or an AI employee you manage or that’s shared with you.

GET /v1/orgs/{org}/calls

API keys: needs the meetings:read scope.

Parameter In Type Description
org (required) path string (uuid) The caller’s organisation id.
view query live, upcoming, recent
channel_id query string (uuid)
limit query integer Page size.

Responses

  • 200 Calls — object
  • 404 Not found (also returned for rows the caller may not see, and for disabled features) — Problem

Start a huddle in a channel or DM (or join the live one), or set up a meeting

Section titled “Start a huddle in a channel or DM (or join the live one), or set up a meeting”
POST /v1/orgs/{org}/calls

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
kind huddle, meeting
channel_id string (uuid) Required for huddles; optional for meetings (posted there)
title string Meetings
description string
scheduled_at string (date-time) Default now
duration_minutes integer
invitee_ids array of string (uuid)
guests_allowed boolean

Responses

  • 201 The call (created false when you joined the huddle already going) — Call
  • 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
  • 409 Conflicting state (card already answered, duplicate in flight, name taken) — Problem
  • 422 Invalid input — Problem
Section titled “A colleague opened a meeting link (same organisation) — become an invitee”
POST /v1/orgs/{org}/call-links/{code}

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.
code (required) path string

Responses

  • 200 The call — Call
  • 404 Not found (also returned for rows the caller may not see, and for disabled features) — Problem

A call (with who’s in it, notes, agents, invitees, notes records)

Section titled “A call (with who’s in it, notes, agents, invitees, notes records)”
GET /v1/orgs/{org}/calls/{call}

API keys: needs the meetings:read scope.

Parameter In Type Description
org (required) path string (uuid) The caller’s organisation id.
call (required) path string (uuid)

Responses

  • 200 The call — Call
  • 404 Not found (also returned for rows the caller may not see, and for disabled features) — Problem

Change or cancel a meeting (its host only)

Section titled “Change or cancel a meeting (its host only)”
PATCH /v1/orgs/{org}/calls/{call}

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.
call (required) path string (uuid)

Request body (JSON)

Field Type Description
title string
description string
scheduled_at string (date-time)
duration_minutes integer
guests_allowed boolean
invitee_ids array of string (uuid)
cancelled boolean

Responses

  • 200 The call — Call
  • 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
  • 409 Conflicting state (card already answered, duplicate in flight, name taken) — Problem

A LiveKit room token for this call (10 minutes to connect)

Section titled “A LiveKit room token for this call (10 minutes to connect)”
POST /v1/orgs/{org}/calls/{call}/join

Only for people who can see the call; everyone else (any organisation) gets 404. Ended huddles and cancelled meetings 409.

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.
call (required) path string (uuid)

Responses

  • 200 Where and how to connect — 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
  • 503 A dependency (e.g. the sign-in service) is unavailable — Problem

Not now — stop ringing on my other devices

Section titled “Not now — stop ringing on my other devices”
POST /v1/orgs/{org}/calls/{call}/decline

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.
call (required) path string (uuid)

Responses

  • 204 Declined

Turn AI notes on or off (everyone in the call is told)

Section titled “Turn AI notes on or off (everyone in the call is told)”
PUT /v1/orgs/{org}/calls/{call}/notes

On: a notes record (a meetings row owned by you, platform: teemli) and a notetaker for the media worker; a line in the call’s thread. Off (anyone in the call): the notetaker sends its last speech and the notes are written, then posted in the thread.

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.
call (required) path string (uuid)

Request body (JSON)

Field Type Description
on (required) boolean

Responses

  • 200 The call — Call
  • 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

An agent shows its computer screen in the call (view only)

Section titled “An agent shows its computer screen in the call (view only)”
POST /v1/orgs/{org}/calls/{call}/agents

Your own agent, or an AI employee you manage or that’s shared with you. Its controller can take over the computer as usual.

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.
call (required) path string (uuid)

Request body (JSON)

Field Type Description
agent_id (required) string (uuid)

Responses

  • 200 The call — Call
  • 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

Stop showing an agent’s screen (anyone in the call)

Section titled “Stop showing an agent’s screen (anyone in the call)”
DELETE /v1/orgs/{org}/calls/{call}/agents/{agent}

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.
call (required) path string (uuid)
agent (required) path string (uuid)

Responses

  • 200 The call — Call
GET /v1/orgs/{org}/calls/{call}/lobby

API keys: needs the meetings:read scope.

Parameter In Type Description
org (required) path string (uuid) The caller’s organisation id.
call (required) path string (uuid)

Responses

  • 200 Waiting guests — object
POST /v1/orgs/{org}/calls/{call}/lobby/{entry}

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.
call (required) path string (uuid)
entry (required) path string (uuid)

Request body (JSON)

Field Type Description
admit (required) boolean

Responses

  • 200 The lobby
  • 404 Not found (also returned for rows the caller may not see, and for disabled features) — Problem

The meeting as a calendar file (Add to calendar)

Section titled “The meeting as a calendar file (Add to calendar)”
GET /v1/orgs/{org}/calls/{call}/invite.ics

API keys: needs the meetings:read scope.

Parameter In Type Description
org (required) path string (uuid) The caller’s organisation id.
call (required) path string (uuid)

Responses

  • 200 text/calendar

Send the meeting’s invitations from the host’s own Google Calendar / Outlook (G2)

Section titled “Send the meeting’s invitations from the host’s own Google Calendar / Outlook (G2)”
POST /v1/orgs/{org}/calls/{call}/calendar

Host only, once per meeting. Composio creates the event as exactly the host’s connected account (default, or connection_id), with the invitees (not people who only opened the link), the join link and the description. Without a calendar connection: 422 (use invite.ics).

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.
call (required) path string (uuid)

Request body (JSON)

Field Type Description
connection_id string (uuid)

Responses

  • 200 {provider: googlecalendar|outlook, app_name, invited, link}
  • 403 Authenticated but not allowed (e.g. unverified email, not the agent’s controller, card routed to someone else) — Problem
  • 409 The invitations already went out
  • 422 No calendar connected, or the calendar refused (a sentence for people)

Calendars you can send meeting invitations from: your ready Google Calendar / Outlook connections

Section titled “Calendars you can send meeting invitations from: your ready Google Calendar / Outlook connections”
GET /v1/orgs/{org}/call-calendars

API keys: needs the meetings:read scope.

Parameter In Type Description
org (required) path string (uuid) The caller’s organisation id.

Responses

  • 200 {items: [{connection_id, app: googlecalendar|outlook, app_name, label}]}

Raise or lower your hand {up} (the server sets your participant attribute: people can’t change their own, audit L-11)

Section titled “Raise or lower your hand {up} (the server sets your participant attribute: people can’t change their own, audit L-11)”
PUT /v1/orgs/{org}/calls/{call}/hand

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.
call (required) path string (uuid)

Request body (JSON)

Field Type Description
up (required) boolean

Responses

  • 200 {up}
  • 409 Join the call first
Section titled “Public: the meeting behind a link (title, host, organisation, state)”
GET /v1/calls/lobby/{code}

Auth: none (public endpoint).

Parameter In Type Description
code (required) path string

Responses

  • 200 {title, host_name, org_name, state, guests_allowed, scheduled_at}
  • 404 Not found (also returned for rows the caller may not see, and for disabled features) — Problem

Public: a guest asks to join (waits in the lobby)

Section titled “Public: a guest asks to join (waits in the lobby)”
POST /v1/calls/lobby/{code}/knock

Returns a one-time secret the guest keeps to check in; the server stores only its SHA-256. At most 20 waiting per meeting.

Auth: none (public endpoint).

Parameter In Type Description
code (required) path string

Request body (JSON)

Field Type Description
name (required) string

Responses

  • 201 {lobby_id, secret, state: waiting}
  • 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

Public: a waiting guest checks in; once let in, a guest LiveKit token (identity g:)

Section titled “Public: a waiting guest checks in; once let in, a guest LiveKit token (identity g:)”
GET /v1/calls/lobby/{code}/wait/{lobby}

Auth: none (public endpoint).

Parameter In Type Description
code (required) path string
lobby (required) path string (uuid)
X-Lobby-Secret (required) header string

Responses

  • 200 {state: waiting|admitted|denied|left|ended, url?, token?, identity?}
  • 404 Not found (also returned for rows the caller may not see, and for disabled features) — Problem

LiveKit’s webhook (participants joined/left, room finished)

Section titled “LiveKit’s webhook (participants joined/left, room finished)”
POST /v1/calls/livekit/webhook

Authorization is a JWT signed with the LiveKit API secret (iss = the API key) whose sha256 claim is the base64 SHA-256 of the raw body; both are checked before anything is believed. Unknown rooms and identities are ignored.

Auth: none (public endpoint).

Request body: application/webhook+json.

Responses

  • 200 Applied (or ignored)
  • 401 Missing, invalid or expired token — Problem
POST /v1/orgs/{org}/calls/{id}/notes/consent

Where everyone must agree (the organisation’s or the person’s country: EU/EEA, UK, CH, CA, AU, BR, AE…), each participant is asked; their audio isn’t transcribed until they accept. Guests are always asked. Elsewhere the banner and thread line are the notice. The call’s notes.consent {mode: notice|ask, people[], me} shows who is in.

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.
id (required) path string (uuid)

Request body (JSON)

Field Type Description
accept (required) boolean

Responses

  • 200 The call
  • 404 Not found (also returned for rows the caller may not see, and for disabled features) — Problem

A guest’s answer to AI notes (with the secret only they hold)

Section titled “A guest’s answer to AI notes (with the secret only they hold)”
POST /v1/calls/lobby/{code}/consent/{lobby}

Auth: none (public endpoint).

Parameter In Type Description
code (required) path string
lobby (required) path string (uuid)

Request body (JSON)

Field Type Description
secret (required) string
accept (required) boolean

Responses

  • 200 Saved
  • 404 Not found (also returned for rows the caller may not see, and for disabled features) — Problem