# Telnyx Agent Tools: Meeting — Full Documentation > Complete page content for Meeting (Agent Tools section) of the Telnyx developer docs (https://developers.telnyx.com). > This file: https://developers.telnyx.com/docs/development/llms/agent-tools-meeting-beta-llms-full-txt · Root index: https://developers.telnyx.com/llms.txt ## Meeting ### Overview > Source: https://developers.telnyx.com/docs/meeting.md Telnyx Meeting gives your agent a seat in third-party meetings. Point it at a Google Meet, Zoom, or Microsoft Teams link and a programmable participant joins the room -- it captures the live transcript, can speak and post to chat, and generates summaries and action items. The virtual participant, aka bot, is a fully managed Telnyx service -- you drive it through the Meeting API and read back the transcript, speech, chat, and summaries it produces, with nothing to run or operate yourself. ## The Workflow Point the bot at a meeting URL. It joins as a visible participant and starts capturing audio. Join now or schedule ahead with `join_at`. Configure the bot’s name, camera image, [recording](/docs/meeting/recording), and [automatic departure](/docs/meeting/join-meeting/leave-policy). While the meeting runs, read the transcript as people speak, plus who joined and what was said in chat. The bot is a participant, not just a recorder -- it can speak back, post to chat, and be interrupted. When the meeting ends, the transcript is finalized. Set `summarize_on_end: true` for a summary, or request action items and other artifacts separately. Export Google Meet and Teams recordings to your Telnyx Storage bucket and track completion through the API or webhooks. ## Supported Platforms Google Meet, Zoom, and Microsoft Teams. The platform is detected automatically from the meeting URL. See [Release Changes](/docs/meeting/release-changes) for request, response, and feature updates. ## Next Steps - [Quick Start](/docs/meeting/quick-start) -- send the bot to a meeting and read the results, four curl commands end to end - [Meeting MCP Server](/docs/meeting/mcp) -- connect an AI agent to 19 dedicated Meeting tools over stateless Streamable HTTP - [Join a Meeting](/docs/meeting/join-meeting) -- create a meeting session and send the bot - [Live Transcript](/docs/meeting/live-transcript) -- follow the transcript stream in real time - [Meeting Presence](/docs/meeting/presence) -- how the bot appears in the meeting, from its roster name to its camera tile - [Controlling the Bot](/docs/meeting/control) -- make it speak, post to chat, or run an assistant - [Collect Results](/docs/meeting/collect-results) -- read the finalized transcript and summary - [Webhooks](/docs/meeting/webhooks) -- receive session events on your own endpoint --- ### Quick Start > Source: https://developers.telnyx.com/docs/meeting/quick-start.md Send the bot to a real meeting and get back a transcript, summary, and action items. All you need is a Telnyx API key and a meeting link. Create a meeting session pointing at your meeting URL. Use a unique `idempotency_key` and reuse it if you retry the same request: ```bash curl -X POST https://api.telnyx.com/v2/meeting_sessions \ -H "Authorization: Bearer $TELNYX_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "meeting_url": "https://meet.google.com/abc-defg-hij", "idempotency_key": "quick-start-2026-11-10", "bot_name": "Notetaker", "summarize_on_end": true }' ``` Returns `201 Created` with the session `id`: ```json { "data": { "id": "mtgsess_9b2f...", "status": "joining", "platform": "google_meet", "recording": false } } ``` `summarize_on_end` attempts a `summary` artifact after the transcript is finalized, so a recap is ready without a second request. It does not generate action items -- request an `action_items` artifact separately -- and an empty transcript or a generation failure can result in no completed summary. The bot appears in the meeting lobby under its `bot_name`; admit it like any other participant. Poll the session until `status` is `active`: ```bash curl -H "Authorization: Bearer $TELNYX_API_KEY" \ "https://api.telnyx.com/v2/meeting_sessions/mtgsess_9b2f..." ``` A non-null `joined_at` is positive evidence that the bot became active. `admission_denied` is reserved for an explicit denial by the host; a never-admitted session can also end as plain `ended`, so do not infer attendance from `ended` alone. The full status lifecycle is on [Join with a Meeting URL](/docs/meeting/join-meeting/meeting-url). Long-poll the transcript endpoint while the meeting runs. `after` is your cursor; `wait_seconds` holds the request open until a new segment lands: ```bash curl -H "Authorization: Bearer $TELNYX_API_KEY" \ "https://api.telnyx.com/v2/meeting_sessions/mtgsess_9b2f.../transcript?after=0&wait_seconds=20" ``` ```json { "data": [ { "seq": 41, "text": "let's ship it", "speaker_label": "Ada L.", "confidence": 0.94, "relative_ts": 1240.5, "occurred_at": "2026-06-16T09:00:42Z" } ], "meta": { "next_after": 41 } } ``` Repeat the call with `after` set to `meta.next_after` (the last `seq` you received). When an empty page returns `"next_after": null`, keep the cursor you already had -- null is not a replacement cursor. When the meeting ends -- or you `DELETE` the session to make the bot leave -- the transcript is finalized and the summary generates. Read the artifacts: ```bash curl -H "Authorization: Bearer $TELNYX_API_KEY" \ "https://api.telnyx.com/v2/meeting_sessions/mtgsess_9b2f.../artifacts" ``` Poll until the artifact's `status` is `completed`, then read `content.text` for the recap. To get action items, `POST` to the same `artifacts` endpoint with `{"type": "action_items"}`. The finalized transcript stays available at the `transcript` endpoint. ## Related - [Join a Meeting](/docs/meeting/join-meeting) -- scheduling, calendar auto-join, and the session lifecycle - [Meeting MCP Server](/docs/meeting/mcp) -- run the Meeting workflow from an MCP-compatible AI agent - [Live Transcript](/docs/meeting/live-transcript) -- long polling and the WebSocket stream in depth - [Controlling the Bot](/docs/meeting/control) -- make the bot speak, post to chat, and be interrupted - [Collect Results](/docs/meeting/collect-results) -- transcripts, artifacts, and recording-media deletion - [Webhooks](/docs/meeting/webhooks) -- push session events to your endpoint instead of polling --- ### Pricing > Source: https://developers.telnyx.com/docs/meeting/pricing.md Recordings exported to a customer Storage bucket are managed through Storage. The recording retention terms below apply to recordings retained by the Meeting service. See [Recording](/docs/meeting/recording). A meeting session bills two things and nothing else. Everything beyond that is something you switch on, and each one adds its own line. This page is split accordingly: what a plain session costs, then what each addition costs on top. ## Included by Default Send a bot to a meeting and two things accrue, on every session, for as long as the bot is in the room. **Bot presence** is the bot's time in the meeting. It is billed for every minute, or partial minute, from the moment it starts joining -- including time spent waiting for admission -- until it leaves, whether it speaks, transcribes, or just sits there. **Transcription** is the live speech-to-text of what is said, and it runs for as long as the bot is in the meeting. | Usage | Price | | --- | --- | | Bot presence and transcription | `$0.02 / min` | The rate is **$0.02 per minute** (`$1.20 / hour`), billed per minute and rounded up to the next full minute. It covers transcription with the **Deepgram Nova 3** model, the model a meeting session uses by default. Carried at no additional charge: - **Transcript & artifact storage.** Not billed — keeping the transcript and any artifacts costs nothing. Only *generating* an artifact costs anything -- see [Artifacts](#artifacts) below. (Live transcription itself is billed, at the rate above.) - **Recording**, which happens automatically, and its retention for the first **7 days**. Keeping it longer is charged -- see [Recording retention](#recording-retention). - **Session events, webhooks and the MCP server.** Reading what happened costs nothing. - **Chat.** Sending or receiving messages in the meeting chat is not billed. - **The [Calendar API](/docs/meeting/join-meeting/calendar-auto-join).** Connecting a calendar, managing connections, listing tracked meetings and deciding per-meeting whether a bot joins are all free -- eight routes, no charge. Only a session a bot actually joins bills, at the rates above. - **Sending, scheduling and removing bots.** The session lifecycle itself is not a line item. ## Additional Integrations Each of these is billed separately from the rate above -- nothing here is folded into the per-minute price. Every one except recording retention is off unless you ask for it; **recording retention is the opposite** -- recording happens automatically, so its retention begins billing after the free 7 days unless you delete the recording. You opt out of it, not into it. | Addition | Price | | --- | --- | | Speech (TTS) | `$0.000003 / character` | | AI Assistant | `$0.05 / min` + LLM tokens | | Digital avatar | [AI Assistant avatar rate](/docs/inference/ai-assistants/avatars#pricing), on top of the assistant | | Artifacts | Inference token rates, per request | | Recording retention past 7 days *(automatic -- opt out by deleting)* | `$0.05 / recording media hour / 30 days` | ### Speech Text the bot speaks is billed per character at the rate for the configured `voice`, not per minute. A session that never calls `speak` and has no `speak_on_enter` incurs no speech charge at all, so this line varies far more between sessions than presence or transcription do. Speech is currently metered as **raw text-to-speech usage**, separately from the per-minute presence meter. The intended direction is to fold an allowance into the presence rate and charge only for overage beyond it, which would change how this line appears on an invoice. Treat the per-character rate as accurate for what is billed today rather than as the settled model. The default is **Telnyx TTS** at `$0.000003 / character` -- roughly `$0.003` for a thousand characters, or about 150 spoken words. Any Telnyx-billed voice can be selected and rates vary between them, but **you cannot bring your own text-to-speech provider**: the bring-your-own-key engines listed on the Text-to-Speech pricing page are not available to a meeting session. ### AI Assistant A session that attaches an `assistant` is billed the advertised voice-agent rate of `$0.05 / min` for the duration the assistant is attached. LLM tokens are a separate line item at Telnyx GPU token rates, and frontier models from Anthropic and OpenAI pass through at their own rates. **An assistant session bills presence, plus the assistant rate in place of transcription and speech.** The `$0.05 / min` rate already includes speech-to-text and text-to-speech, so those two rows do not also apply while an assistant is attached -- only presence continues alongside it. No Call Control or telephony charges apply. The assistant reaches the meeting through the Meeting service directly rather than by bridging a call, so the per-minute carrier rates on the AI Assistants pricing page are not incurred here. Switching `audio_gate` to `full_duplex` adds a per-participant surcharge on top of the rate above -- see [Audio Gate](/docs/meeting/ai-assistants#assistant-parameters) for what it changes and why it costs more. ### Digital Avatars A [digital avatar](/docs/meeting/digital-avatars) is the avatar configured on the attached AI Assistant, so it is billed through the assistant at the [AI Assistant avatar rate](/docs/inference/ai-assistants/avatars#pricing), in addition to the [AI Assistant](#ai-assistant) rate and its tokens. There is no separate avatar account or invoice. - **No separate speech charge.** The avatar speaks the assistant's own audio, which the assistant rate already covers. - **Voice-only fallback can still bill avatar minutes.** After an avatar [degrades to voice-only](/docs/meeting/digital-avatars#voice-only-fallback), Telnyx may keep rendering it until its media session expires, and those minutes can still be billed. ### Artifacts Artifacts are not part of any per-minute rate. Each request -- `summary`, `action_items`, `decisions`, `topics`, `open_questions`, or a `custom` question -- is a separate inference run on Telnyx inference infrastructure, billed at [Inference API](https://telnyx.com/pricing/inference-api) token rates for the tokens it consumes. **That is the entire charge** -- storing and re-fetching the result afterward is free; see [Included by Default](#included-by-default) above. Three consequences worth planning around: - **`summarize_on_end` is a billed request.** It is convenient, not free -- a session that ends with it enabled has asked for one artifact. - **The create call is not idempotent.** Two POSTs for the same type produce two artifacts and two charges; the service will not collapse them. Guard the call in your own code. - **Cost scales with transcript length, not meeting length.** Within the [artifact input limits](/docs/meeting/collect-results), a long, dense meeting costs more per artifact than a short one -- and asking six questions of one meeting is six runs over that same transcript. ### Recording Retention Customer [Storage exports](/docs/meeting/recording) use [Storage billing](/docs/cloud-storage/billing/index) and the retention settings on your bucket. The Meeting retention rates below apply to recordings retained by the Meeting service, including Zoom recordings and existing Google Meet and Teams recordings. Those recordings are retained **free for the first 7 days**. After that, retention is `$0.05` per recording media hour for every additional 30 days, prorated hourly at `$0.000069` per media hour retained. Two things about that unit are easy to misread. It is charged on the **length of the recording**, not the size of the file -- a one-hour recording is one media hour whatever its resolution. And it is multiplied by **how long you keep it**, so the cost of a given recording keeps accruing until it is deleted. | Recording | Kept | Billed period | Cost | | --- | --- | --- | --- | | 1 hour | 7 days | none | `$0.0000` | | 1 hour | 8 days | 1 day | `$0.0017` | | 1 hour | 14 days | 7 days | `$0.0117` | | 1 hour | 37 days | 30 days | `$0.0500` | | 2 hours | 67 days | 60 days | `$0.2000` | Deleting a recording stops the meter -- `DELETE /v2/meeting_sessions/{id}/recording_media`. If you only need the transcript, delete the recording inside the free window. ## Example A transcribe-only meeting -- no assistant, and the bot never speaks -- costs `$0.02 / minute` at the default **Deepgram Nova 3** model: | Meeting length | Calculation | Bill | | --- | --- | --- | | 60 minutes | `60 * $0.02` | `$1.20` | | 45 minutes | `45 * $0.02` | `$0.90` | | 30 minutes | `30 * $0.02` | `$0.60` | | 15 minutes | `15 * $0.02` | `$0.30` | That is the whole bill for a session with nothing switched on. Every line in [Additional Integrations](#additional-integrations) is added on top: speech per character when the bot talks, the assistant rate in place of transcription on assistant sessions, one inference charge per artifact including a `summarize_on_end` summary, and the avatar rate if the assistant shows its avatar. --- ## Join a Meeting ### Join a Meeting > Source: https://developers.telnyx.com/docs/meeting/join-meeting.md The bot joins your meeting as a visible participant and starts capturing audio. There are two ways to get it into a meeting -- use whichever fits your workflow. ## Choose a Method | | Meeting URL | Calendar auto-join | | --- | --- | --- | | Setup | Create a session pointing at a meeting URL | Connect Google Calendar or Microsoft Outlook once | | Effort | Build it yourself with `POST /v2/meeting_sessions` | The bot joins automatically, nothing to build | | Control | Full control over each join, including scheduling | Per-connection policy, session defaults, and per-meeting overrides | | Best for | Custom apps and precise scheduling | Automatically capturing your own meetings | Create a session with the REST API. Full control over each join, including scheduled joins with `join_at`. Connect Google Calendar or Microsoft Outlook once and the bot joins your meetings with a link automatically. ## Wait for the Bot to Join Joining a meeting can take a few seconds. Creating a session starts the join process; it does not mean the bot is already in the meeting. Host approval or a waiting room can take longer. Use the session ID to poll [Retrieve a meeting session](/api-reference/meeting-sessions/retrieve-a-meeting-session) every few seconds: ```bash curl "https://api.telnyx.com/v2/meeting_sessions/YOUR_SESSION_ID" \ -H "Authorization: Bearer YOUR_API_KEY" ``` Read `data.status` in the response. Stop polling for admission when it becomes `active`, or when the session reaches `ended`, `failed`, or `admission_denied`. | Status | Meaning | | --- | --- | | `scheduled` | The bot is waiting until the scheduled `join_at` time. | | `joining` | The bot is connecting to the meeting. | | `waiting_for_admission` | The bot is in the lobby or waiting room, waiting to be admitted. | | `active` | The bot has joined the meeting. | | `leaving` | The bot is disconnecting from the meeting. | | `ended` | The session has finished, including cancellation or a timeout before admission. | | `failed` | The session could not start or continue because of an error. | | `admission_denied` | The host explicitly denied the bot entry. | A non-null `data.joined_at` confirms that the bot entered the meeting, even if it has since left. An `ended` session with `joined_at: null` was never admitted. Read `data.status_detail` and `data.failure_reason` for additional context when present. ## The Bot's Camera Tile A session can show a static JPEG as the bot's camera tile, set with `camera_image` on the create request. The full contract -- sources, size limits, and how a digital avatar overrides it -- is on [Still images](/docs/meeting/presence/still-images). ## Announce the Bot on Arrival The bot can introduce itself as it is admitted, by voice with `speak_on_enter` or in chat with `chat_on_enter`. See [Announce the Bot on Arrival](/docs/meeting/join-meeting/introductions). ## Recording and Departure Set `recording_export` to record Google Meet or Teams meetings to your Storage bucket (Zoom meetings are recorded by default), `recording_view` and `recording_screenshare_participants` to choose a layout, and `recording_retention` to delete the recording automatically. See [Recording](/docs/meeting/recording) for defaults, supported platforms, and export responses. Use `leave_policy` to configure silence, time-alone, host/lobby waits, and duration limits. See [When the Bot Leaves](/docs/meeting/join-meeting/leave-policy). --- ### Meeting URL > Source: https://developers.telnyx.com/docs/meeting/join-meeting/meeting-url.md Create a meeting session by pointing the bot at a meeting URL. The bot joins as a visible participant and starts capturing audio. You can join now, schedule the join for a future time, or use [calendar auto-join](/docs/meeting/join-meeting/calendar-auto-join) to have the bot join your meetings automatically. ## Create a Meeting Session ```bash curl -X POST https://api.telnyx.com/v2/meeting_sessions \ -H "Authorization: Bearer $TELNYX_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "meeting_url": "https://meet.google.com/abc-defg-hij", "bot_name": "Notetaker", "idempotency_key": "weekly-planning-2026-11-10", "summarize_on_end": true }' ``` Returns `201 Created`: ```json { "data": { "id": "mtgsess_9b2f...", "status": "joining", "platform": "google_meet", "recording": false } } ``` The example shows selected response fields. A create response includes the full session snapshot; see [response fields](/api-reference/meeting-sessions/retrieve-a-meeting-session). Supply an optional `idempotency_key` to make retries safe. Reuse the same key and request after a timeout or temporary failure. A successful replay returns `200 OK`; changing the join configuration under that key returns `409 invalid_state`. Create a new key only for a new intended join. Configure [automatic departure](/docs/meeting/join-meeting/leave-policy) with `leave_policy` and [recording export](/docs/meeting/recording) with `recording_export`. Google Meet and Teams sessions are not recorded unless a Storage destination is supplied. The full request schema -- every field, constraint, and default -- lives on [Create a meeting session](/api-reference/meeting-sessions/create-a-meeting-session) in the API Reference. ### Meeting Links Use a direct HTTPS meeting URL: | URL pattern | Platform | | --- | --- | | `meet.google.com/...` | `google_meet` | | `*.zoom.us/...` | `zoom` | | `teams.microsoft.com/...` | `teams` | | `teams.live.com/...` | `teams` | ## Session Statuses A session moves from `joining` to `waiting_for_admission` when the bot reaches the lobby, and to `active` once it enters the room -- `active`, and a non-null `joined_at`, are the positive evidence that the bot got in. It finishes as `ended`, `failed`, or `admission_denied`. `admission_denied` is reserved for an explicit denial by the host; a session that was cancelled or timed out without being admitted ends as `ended` with `joined_at: null`, so ending alone does not prove attendance. Scheduled sessions wait in `scheduled` until `join_at`. Every status and its meaning is documented on [Retrieve a meeting session](/api-reference/meeting-sessions/retrieve-a-meeting-session). ## Schedule a Join Set `join_at` to a future ISO-8601 timestamp with a timezone. Google Meet and Teams accept dates up to three years ahead. Assistant sessions created with this endpoint must join immediately. The scheduled session remains `scheduled` until the join begins: ```bash curl -X POST https://api.telnyx.com/v2/meeting_sessions \ -H "Authorization: Bearer $TELNYX_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "meeting_url": "https://zoom.us/j/1234567890", "join_at": "2026-12-05T16:00:00Z" }' ``` While a session is `scheduled`, update it with `PATCH`: ```bash curl -X PATCH https://api.telnyx.com/v2/meeting_sessions/mtgsess_9b2f... \ -H "Authorization: Bearer $TELNYX_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "join_at": "2026-12-05T17:00:00Z" }' ``` Only `join_at` and `bot_name` can be updated, and only while the session is `scheduled`. For Google Meet and Teams, `409 edit_in_progress` means a previous change is still being resolved; retry the same change before submitting another. `409 calendar_managed` means the join is controlled by its calendar event; update that event instead. A `503` after an edit does not prove it was rejected. Read the session and retry the same changes. Session lists omit `assistant.dynamic_variables` and `recording_export`. A list item can include `remote_state_observed_at`, the timestamp at which its state was last observed. Retrieve the individual session when current state or export status is needed. ## Leave or Cancel a Session `DELETE` ends the bot's participation. It does not delete the session history, transcript, or artifacts: ```bash curl -X DELETE https://api.telnyx.com/v2/meeting_sessions/mtgsess_9b2f... \ -H "Authorization: Bearer $TELNYX_API_KEY" ``` ## Errors Failures return a non-2xx status with an error envelope: ```json { "error": { "code": "not_found", "message": "meeting session not found" } } ``` ## Related - [Calendar Auto-join](/docs/meeting/join-meeting/calendar-auto-join) -- the bot joins your meetings automatically - [Live Transcript](/docs/meeting/live-transcript) -- follow the transcript stream in real time - [Meeting Presence](/docs/meeting/presence) -- how the bot appears in the meeting - [Collect Results](/docs/meeting/collect-results) -- read the finalized transcript and summary --- ### Calendar Auto-join > Source: https://developers.telnyx.com/docs/meeting/join-meeting/calendar-auto-join.md Calendar auto-join supports eligible Google Meet, Zoom, and Teams meeting links. Calendar authorization reads events; the bot joins as its own visible participant and still requires host admission when the meeting requires it. Connect Google Calendar or Microsoft Outlook once and the bot attends your meetings automatically: Meeting schedules a bot for eligible calendar events that have a supported join link. Each auto-joined meeting becomes a normal session with the same [live transcript](/docs/meeting/live-transcript), [recordings and results](/docs/meeting/collect-results), and [webhooks](/docs/meeting/webhooks). ## Calendar API The Calendar API includes eight routes: | Method | Route | Purpose | | --- | --- | --- | | `POST` | `/v2/calendar_connections` | Start calendar OAuth and return `pending_oauth` plus `oauth_url`; no connection row exists until the callback succeeds. | | `GET` | `/v2/calendar_connections` | List connections owned by the authenticated connecting user. | | `GET` | `/v2/calendar_connections/{id}` | Retrieve one connection owned by that user. | | `PATCH` | `/v2/calendar_connections/{id}` | Update policy, bot name, or future-session defaults. | | `DELETE` | `/v2/calendar_connections/{id}` | Disconnect and stop future joins for that connection. | | `GET` | `/v2/calendar_connections/{id}/meetings` | List tracked meetings; defaults to the next seven days and accepts an ISO-8601 `from`/`to` window up to 31 days. | | `PATCH` | `/v2/calendar_connections/{id}/meetings/{meeting_id}` | Set `bot_will_join` to `true`, `false`, or `null` (follow policy). | | `GET` | `/v2/meeting_bot/calendar/oauth_callback` | Browser OAuth callback. Identity comes from verified, short-lived signed state; clients do not call it with bearer auth. | The [Calendar Connections reference](/api-reference/meeting-calendar-connections/connect-a-meeting-calendar) defines request and response fields for each route. ## Connect Your Calendar ```bash curl -X POST https://api.telnyx.com/v2/calendar_connections \ -H "Authorization: Bearer $TELNYX_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "platform": "google_calendar" }' ``` ```json { "data": { "platform": "google_calendar", "status": "pending_oauth", "oauth_url": "https://accounts.google.com/o/oauth2/v2/auth?..." } } ``` Set `platform` to `google_calendar` or `microsoft_outlook`. Open `oauth_url` in a browser and grant read-only calendar access. After the callback succeeds, list the connection to obtain its `id` and connected status. ## Configure Auto-join ```bash curl -X PATCH https://api.telnyx.com/v2/calendar_connections/calconn_... \ -H "Authorization: Bearer $TELNYX_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "auto_join_policy": "external_organizer_excluded", "bot_name": "Calendar Notetaker", "default_barge_in": false, "default_summarize_on_end": true, "default_voice": null }' ``` | Policy | Behavior | | --- | --- | | `all_meetings` | Join eligible events that have a supported meeting link. | | `external_organizer_excluded` | Skip Google events where `organizer.self` is not `true`. This means the connected calendar user did not organize the event; it is not a domain comparison, so a coworker's same-domain event is also excluded. | | `per_meeting` | Join only meetings explicitly opted in with the per-meeting PATCH route. | Connection defaults apply to sessions adopted after the change; they do not rewrite already-created sessions. `bot_will_join` in a meeting response is the effective decision under policy, while `bot_will_join_override` is the explicit nullable override. ## Session Defaults Use `PATCH /v2/calendar_connections/{id}` to set defaults for future Google Meet and Teams sessions: ```json { "default_recording": true, "default_recording_export": { "bucket": "meeting-recordings", "prefix": "calendar" }, "default_summarize_on_end": true, "default_webhook_url": "https://example.com/meeting-events" } ``` | Field | Behavior | | --- | --- | | `default_recording` | `true` requires a destination; `false` cannot be combined with one. `null` enables recording only when a destination is set. | | `default_recording_export` | Existing Storage `bucket` and optional `prefix`, using the same constraints as [recording export](/docs/meeting/recording). Use `null` to clear it. | | `default_webhook_url` | HTTPS destination for future session events. A non-null update returns a `webhook_secret` once; save it to verify webhooks for future sessions. `null` clears the default. Existing sessions keep their original secret. | | `default_assistant` | Accepts `id`, `audio_gate`, `dynamic_variables`, and `leave_on_end`. Runs the assistant in future calendar-scheduled meetings. Defaults to `full_duplex` when `audio_gate` is omitted. The assistant configuration must fit within 8 KiB. | An assistant default cannot be combined with a non-null `default_voice` or `default_barge_in: true`. Avatar settings are not accepted in calendar defaults. These additional defaults are REST parameters; MCP `set_calendar_policy` supports policy, bot name, voice, barge-in, and summary defaults only. Connection reads return the saved defaults, including `null` for unset values, but omit the signing secret. Defaults do not change sessions already created. Use the calendar event to reschedule an auto-join; a session PATCH can return `409 calendar_managed`. ## Responses and Errors Connection creation returns `201` with `data.platform`, `data.status: "pending_oauth"`, and `data.oauth_url`. It does not return a connection ID. Retrieve or list after successful consent to obtain it. The OAuth callback displays HTML, including for cancellation and errors. Connection reads, updates, disconnects, and meeting overrides return `200` with `data`. Meeting lists return `data[]`; each item includes `bot_will_join`, nullable `bot_will_join_override`, `decision`, and nullable `session_id`. `bot_will_join: true` does not establish admission: retrieve the linked session and check `joined_at`. Invalid settings or a window exceeding 31 days return `400 invalid_request`; missing or another user's connection returns `404 not_found`; an unavailable feature returns `422 unsupported_capability` or `503 not_configured`. A duplicate connection completes OAuth with `409 already_connected`. See [Meeting API Errors](/docs/meeting/errors) for retry guidance. ## Timing, Ownership, and Identity Retention Calendar scheduling applies the configured join lead time. If `event.start_time - lead_time` is still in the future, the bot starts joining then; if that lead window has elapsed, it starts at the event start time rather than using a past `join_at`. Calendar connections, settings, and tracked-meeting controls are owned by the user who connected the calendar. Sessions generated from those meetings, and their transcripts, recordings, events, artifacts, and usage data, are organization-level Meeting resources visible to other authenticated users or API keys in the same Telnyx organization. Organizer and attendee identities are retained only for a configured post-event window (currently 24 hours by default) and are then scrubbed from Calendar meeting records. Disconnecting also erases those Calendar identity fields. This identity-retention boundary does not delete the separately retained organization-level Meeting session resources. ## Related - [Join with a meeting URL](/docs/meeting/join-meeting/meeting-url) -- create sessions through the API - [Live Transcript](/docs/meeting/live-transcript) -- follow the transcript stream in real time - [Collect Results](/docs/meeting/collect-results) -- read the finalized transcript and summary --- ### Announce the Bot on Arrival > Source: https://developers.telnyx.com/docs/meeting/join-meeting/introductions.md Use two create parameters to introduce the bot when it joins: `speak_on_enter` says a line out loud, `chat_on_enter` posts one to the meeting chat. Both are set when you create the session -- neither is an action, and neither can be changed once the bot is on its way. They are independent and can be used together. ## Post to Chat on Arrival Set `chat_on_enter` -- typically a recording disclosure. It takes 1-4000 characters: ```bash curl -X POST https://api.telnyx.com/v2/meeting_sessions \ -H "Authorization: Bearer $TELNYX_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "meeting_url": "https://meet.google.com/abc-defg-hij", "chat_on_enter": "Hello, I am Oliver'"'"'s meeting bot assistant. I am recording this session." }' ``` - **Delivered at most once.** The bot does not repeat the message after a retry. - **Independent of `speak_on_enter`.** Both can be set on one session, and the chat message posts first: it does not wait for text-to-speech or avatar startup. - **Works with an assistant attached.** An assistant owns the voice, not the chat. - Echoed back as `config.chat_on_enter`, `null` when unset. - Appends a `bot.chat_on_enter_delivered` event to the session's [event history](/docs/meeting/events) and the WebSocket stream. There is no new webhook event type. ## Speak on Arrival Set `speak_on_enter` to the text the bot should say as soon as it is admitted, with no [speak](/docs/meeting/control/speak) call of your own. It sits alongside `voice`, `barge_in` and `summarize_on_end`, and works for sessions without a digital avatar. ```bash curl -X POST https://api.telnyx.com/v2/meeting_sessions \ -H "Authorization: Bearer $TELNYX_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "meeting_url": "https://zoom.us/j/1234567890", "speak_on_enter": "Hi, I am taking notes for this call." }' ``` With an attached [AI Assistant](/docs/meeting/ai-assistants), the spoken introduction waits until the assistant is connected. Use the session’s `voice` to choose its voice, or configure a conversational greeting in the assistant settings. `chat_on_enter` does not wait for the assistant to connect. ## Where These Live on the Session `speak_on_enter` is sent **flat on the create request** and read back **nested under `config`** on the session object, along with `voice`, `barge_in` and `summarize_on_end`. Sending them wrapped in `config` is rejected with `400 invalid_request: body: Unrecognized key(s) in object: 'config'`. `chat_on_enter` follows the same rule. ## Related - [Join a Meeting](/docs/meeting/join-meeting) -- the rest of the create request - [Chat](/docs/meeting/control/chat) -- post to chat during the meeting - [Speak](/docs/meeting/control/speak) -- speak during the meeting - [Telnyx AI Assistants](/docs/meeting/ai-assistants) -- what an attached assistant takes over - [Session Events](/docs/meeting/events) -- `bot.chat_on_enter_delivered` --- ### When the Bot Leaves > Source: https://developers.telnyx.com/docs/meeting/join-meeting/leave-policy.md Set `leave_policy` on `POST /v2/meeting_sessions` or MCP `join_meeting` to customize automatic departure for Google Meet and Teams sessions. Zoom accepts a valid policy but ignores it and omits it from the response. ```json { "meeting_url": "https://meet.google.com/abc-defg-hij", "idempotency_key": "weekly-planning-2026-11-10", "leave_policy": { "alone_seconds": 300, "max_duration_seconds": 7200 } } ``` The [create-session reference](/api-reference/meeting-sessions/create-a-meeting-session) defines the complete request schema. | Field | Default | Behavior | | --- | --- | --- | | `silence_seconds` | `600` | Leave after this much continuous audio inactivity once the grace period ends. | | `silence_grace_seconds` | `1200` | Wait this long after joining before starting a fresh silence timer. | | `alone_seconds` | `60` | Leave after being alone this long, after another participant has attended and left. Arriving before everyone else does not start this timer. | | `host_wait_seconds` | `600` | Maximum wait for the host to start the meeting. | | `lobby_wait_seconds` | `900` | Maximum wait for lobby admission. | | `max_duration_seconds` | `null` | Maximum time after joining. `null` means no per-join limit; service safety limits still apply. | | `bot_name_keywords` | `null` | Case-insensitive names or phrases identifying other bots to exclude when deciding whether this bot is alone. | Durations must be whole seconds from 1 to 2,147,483,647. Zero does not disable a timer. Only `max_duration_seconds` and `bot_name_keywords` accept `null`. An empty keyword array also disables name filtering. Supply at most 100 keywords, each 1–100 characters. Name matching splits on spaces, hyphens, and underscores. The silence timers run consecutively: the default 20-minute grace period followed by 10 minutes of continuous silence allows roughly 30 minutes before silence-based departure. Omitted fields keep runtime defaults; an empty policy is equivalent to omission. ## Policy Lifetime and Other Ways to Leave The policy is fixed at creation and returned in `config.leave_policy`. It is retained for scheduled joins where scheduling is supported, but cannot be changed with `PATCH`. Reusing an idempotency key with a different policy returns a conflict. `assistant.leave_on_end: true` independently requests departure when the assistant conversation ends or fails. You can also call `DELETE /v2/meeting_sessions/{id}` to leave immediately or cancel a scheduled join. These operations stop participation; they do not delete the session's transcript, artifacts, or exported Storage objects. Follow `session.status_changed` and the session's `status_detail` for lifecycle outcomes. A departure request may first put the session in `leaving`; wait for a terminal status. Then wait separately for transcript finalization and recording export, as described in [Collect Results](/docs/meeting/collect-results). --- ## During the Meeting ### Live Transcript > Source: https://developers.telnyx.com/docs/meeting/live-transcript.md While the meeting runs, the bot captures audio and Telnyx STT transcribes it in real time. You have two ways to read segments as they are produced: a WebSocket stream or incremental long polling. ## Read the Transcript Incrementally `GET /v2/meeting_sessions/{id}/transcript` returns segments in ascending `seq` order, at most `limit` per page (default 100, maximum 1,000). Use `after` to page forward and `wait_seconds` to hold the request open (up to 25 seconds) so new segments arrive as soon as they are produced: ```bash curl -H "Authorization: Bearer $TELNYX_API_KEY" \ "https://api.telnyx.com/v2/meeting_sessions/mtgsess_9b2f.../transcript?after=40&wait_seconds=20" ``` ```json { "data": [ { "seq": 41, "text": "let's ship it", "speaker_label": "Ada L.", "confidence": 0.94, "relative_ts": 1240.5, "occurred_at": "2026-06-16T09:00:42Z" } ], "meta": { "next_after": 41 } } ``` `wait_seconds` turns the call into a long poll: if no new segments exist yet, the request waits and returns as soon as a new segment lands or the timeout elapses (an empty `data` array; `meta.next_after` preserves a positive supplied `after`, or is `null` when no positive cursor was supplied). Pass `meta.next_after` as the next request's `after` cursor; on an empty page keep the cursor you already had rather than replacing it with null. Speaker labels identify the participant or bot attributed to a segment and can be `null` when unavailable. Segments from different speakers can finish at different times: `seq` is an append cursor, not proof of conversational turn order. Preserve both the labels and timestamps when processing the transcript. ## Connect to the WebSocket Stream The stream endpoint replays stored events and transcript segments, then follows the meeting live. Open a connection with your API key on the upgrade: ``` WSS /v2/meeting_sessions/{id}/stream?after_seq=0&after_transcript_seq=0 ``` Send your API key in the `Authorization` header using the Bearer scheme on the upgrade request. Header auth is the only supported mechanism -- query-string credentials such as an `access_token` parameter are rejected with `401`. Browser-native WebSocket clients cannot set the `Authorization` header during the handshake, so connect from a backend and relay to the browser if needed. A successful upgrade returns `101`. Before upgrade, the server can return `401` for missing or invalid credentials or a nonexistent, foreign, or already-terminal session; `403` for a forbidden credential; `429` with `Retry-After` when authentication is overloaded; or `503` while authentication is unavailable. This is a WebSocket upgrade endpoint, not an ordinary HTTP `GET` route. A plain `curl` request -- or a request with only partial upgrade headers -- can reach the Meeting service and return an HTML `Cannot GET` response even when the WebSocket route is available. Use a WebSocket client that performs the complete handshake; verify a successful connection by the `101 Switching Protocols` response and incoming frames. For example, connect from a backend terminal with [`wscat`](https://github.com/websockets/wscat). The Meeting Session must belong to the API-key account and must not be in a terminal state: ```bash export SESSION_ID='mtgsess_...' npx --yes wscat \ --connect "wss://api.telnyx.com/v2/meeting_sessions/${SESSION_ID}/stream?after_seq=0&after_transcript_seq=0" \ --header "Authorization: Bearer [REDACTED]" ``` A successful connection prints `Connected (press CTRL+C to quit)` and begins receiving JSON frames. To test bidirectional commands while the session status is `active`, enter a command such as: ```json { "action": "send_chat", "text": "WebSocket connection verified." } ``` The meeting receives the chat message and the socket receives the corresponding `chat.sent` event. Press Ctrl+C to disconnect. Set `after_seq` and `after_transcript_seq` to the last sequence numbers you have seen. The server replays stored records after those cursors, then switches to live delivery. Replay is bounded: each connection replays at most 1,000 event rows and 1,000 transcript rows, and a `{"kind": "truncated", "store": "events" | "transcript"}` frame signals that more rows remain -- reconnect with that store's cursor set to the last sequence received, or backfill through the REST endpoints. Catch-up and live delivery can overlap, so tolerate duplicates; catch-up event frames carry a durable top-level `seq` while live event frames may not, and a sequence-less live frame must not advance your durable cursor. Transcript segments arrive in two shapes, and a client has to handle both. Segments **replayed from the transcript store** during catch-up arrive as standalone `transcript` frames: ```json { "kind": "transcript", "seq": 17, "text": "Hello, can everyone hear me?", "confidence": 0.98, "speaker_label": "Alice", "relative_ts": 12.4, "occurred_at": "2026-06-16T09:00:12Z" } ``` Segments produced **live** during the meeting arrive instead as event frames, with the segment nested under `payload`: ```json { "kind": "event", "type": "transcript.segment", "payload": { "seq": 18, "text": "Yes, loud and clear.", "confidence": 0.97, "speaker_label": "Bob", "relative_ts": 14.9 }, "occurred_at": "2026-06-16T09:00:14Z" } ``` A client that branches only on `kind == "transcript"` receives nothing while a meeting is live -- silently, with no error -- because every segment produced after connection is an event frame. Other frame kinds (`event`, `error`, `truncated`) and the complete frame protocol -- payload schemas, commands, and close codes -- are specified in the [Meeting Session agent stream reference](/api-reference/websockets/meeting-session-agent-stream). Segment fields (`seq`, `text`, `speaker_label`, `confidence`, `relative_ts`, `occurred_at`) are documented on [List meeting session transcript](/api-reference/meeting-session-data/list-meeting-session-transcript). ### Sending Commands over the Stream You can make the bot act from the same socket rather than over REST. The frames, the 8-command cap, and the missing per-command acknowledgement are documented with the actions themselves, in [Controlling the Bot](/docs/meeting/control#same-commands-over-websocket). The socket's own limits apply either way: inbound frames larger than 32 KiB close the connection with code `1009`, and if the server's outbound buffer backs up it closes with code `1013` and reason `backpressure` -- reconnect with your last durable cursors. ### Availability The WebSocket stream is not covered by a stability or availability commitment. The long-polling `transcript` endpoint above works on the standard API and is the supported way to read the transcript today. ## Related - [Session Events](/docs/meeting/events) -- the stored event history behind the stream - [Join a Meeting](/docs/meeting/join-meeting) -- create a meeting session and send the bot - [Controlling the Bot](/docs/meeting/control) -- speak, chat, or hand the meeting to an assistant - [Meeting Presence](/docs/meeting/presence) -- the bot's roster name and on-camera identity - [Collect Results](/docs/meeting/collect-results) -- read the finalized transcript and summary --- ### Recording > Source: https://developers.telnyx.com/docs/meeting/recording.md Record Google Meet and Teams meetings to your own Telnyx Storage bucket with `recording_export`. Use Storage to download, share, retain, and delete the resulting video, or set `recording_retention` to have the recording deleted automatically. ## Export a Recording to Storage Set `recording_export` when creating the session: ```json { "meeting_url": "https://meet.google.com/abc-defg-hij", "idempotency_key": "recorded-planning-2026-11-10", "recording": true, "recording_view": "gallery_view", "recording_export": { "bucket": "meeting-recordings", "prefix": "weekly-planning" } } ``` | Request | Result | | --- | --- | | Omit `recording` and `recording_export` | No recording. Transcription remains separate. | | Supply `recording_export`, omit `recording` | Recording enabled. | | `recording: true` with `recording_export` | Recording enabled. | | `recording: false` without a destination | Recording disabled. | | `recording: true` without `recording_export` | Invalid request. Supply a destination bucket. | | `recording: false` with `recording_export` | Invalid request. | The table above applies to Google Meet and Teams; Zoom differs as described below. Recording options are fixed at creation; there are no start, pause, resume, or stop-recording actions. The bucket must already exist and be accessible to the authenticated organization/user. Do not send Storage credentials, organization IDs, region, or a destination key: the service resolves the region and generates the object key. `prefix` is optional, up to 256 characters, using letters, digits, `/`, `_`, `.`, and `-`. Empty, `.` and `..` path segments are rejected; one trailing slash is normalized. ### Zoom Zoom meetings are recorded by default and need no Storage bucket. The recording is held by the Meeting service and returned as temporary download links; see [Retention and Deletion](#retention-and-deletion). | Field | On Zoom | | --- | --- | | `recording` | Defaults to `true`. `false` disables the saved recording; live transcription and events continue. | | `recording_export` | Ignored. Zoom recordings are not exported to Storage. | | `recording_view` | See [Choose a Recording Layout](#choose-a-recording-layout). | | `recording_screenshare_participants` | Supported. | | `recording_retention` | Supported, within the limit described under [Delete Recordings Automatically](#delete-recordings-automatically). | The session's top-level `recording` field reports current activity. For Storage recordings, `config.recording` reports the creation-time intent. Neither proves that an exported file is ready. ## Choose a Recording Layout Two optional fields choose what the video shows. Neither enables recording by itself, and both are fixed at creation. ```json { "meeting_url": "https://teams.microsoft.com/meet/1234567890123?p=...", "idempotency_key": "weekly-review-2026-11-19", "recording_export": { "bucket": "meeting-recordings" }, "recording_view": "gallery_view", "recording_screenshare_participants": "beside" } ``` `recording_view` sets the layout while nobody is sharing a screen: | Value | Google Meet and Teams | Zoom | | --- | --- | --- | | `speaker_view` (default) | The active speaker. On Google Meet, a sidebar shows other participants. | The active speaker. | | `gallery_view` | A participant grid, with as many tiles as the meeting shows. | A participant grid. | | `gallery_view_v2` | Same as `gallery_view`, and returned as `gallery_view`. | A participant grid that also draws a named tile for participants whose camera is off. | | `speaker_view_no_sidebar` | The active speaker only. On Teams this is the same as `speaker_view`. | Ignored; the default layout is used. | | `audio_only` | `422 unsupported_capability` | A recording without video. | `recording_screenshare_participants` sets where participant video goes while a screen is shared, on all three platforms. Use it when participant tiles must not cover the shared content: | Value | Recorded frame while a screen is shared | | --- | --- | | `overlap` (default) | The default shared-screen layout. Participant video can cover part of the shared screen. | | `beside` | The shared screen with participant video in a column next to it. Nothing covers the shared screen. | | `hide` | The shared screen alone, filling the frame. | When the share stops, the frame returns to the `recording_view` layout. The session returns non-default choices as `config.recording_view` and `config.recording_screenshare_participants`. Default values are omitted, and `overlap` is treated the same as leaving the field out. [Calendar auto-join](/docs/meeting/join-meeting/calendar-auto-join) defaults do not carry `recording_screenshare_participants`. ## Read Export Status `GET /v2/meeting_sessions/{id}` includes `data.recording_export`. `GET /v2/meeting_sessions/{id}/recordings` returns the same reference at the top level: ```json { "data": [], "recording_export": { "type": "video", "bucket": "meeting-recordings", "region": "us-central-1", "key": "weekly-planning/recording.mp4", "bytes": 1048576, "status": "exported", "exported_at": "2026-11-03T12:00:00Z" } } ``` The key above is illustrative; use the values returned for your session. `recording_export` can be `null` when recording is disabled or no customer export reference is available yet. It is not included in session list responses. | Status | Meaning | | --- | --- | | `pending` | Export is not ready. `bytes` and `exported_at` can be `null`. | | `exported` | Upload has been verified. Download the object through Storage. | | `failed` | Export failed terminally. Inspect the `recording.export_failed` event's `reason`. | The `data` array is empty for Storage exports. Use `recording_export.status` to track completion. With MCP, read the export reference through `get_session.recording_export`. Exports emit `recording.exported` or `recording.export_failed`. These events are available through the event history, live stream, and configured [webhook](/docs/meeting/webhooks). Session termination and transcript finalization can happen before export completion. An export failure does not delete the transcript or artifacts. ## Export Failure Reasons `recording.export_failed` includes a `reason`. The failed export is terminal; retrying the status read does not restart the export. Preserve the session ID and returned reason when contacting support. | Reason | Meaning | | --- | --- | | `invalid_target` | The recording destination could not be used. | | `invalid_media` | The captured media could not be exported as a valid recording. | | `source_changed` | The recording changed while export was in progress. | | `source_unavailable` | The captured recording was unavailable. | | `too_large` | The recording exceeded the export size limit. | | `storage_unavailable` | Storage could not complete the upload. | | `object_conflict` | An object at the destination conflicted with the recording. | | `verification_failed` | The uploaded object could not be verified. | | `worker_lost` | Recording processing was interrupted before export completed. | | `internal_error` | An unexpected export error occurred. | ## Download and Share Once the status is `exported`, use the returned `bucket`, `region`, and `key` with Storage: - [Download an object](/docs/cloud-storage/api-reference/object-operations/get-object/index) using your Storage credentials. - [Create a presigned URL](/docs/cloud-storage/presigned-urls/index) to share temporary access without sharing your API key. - [Storage SDKs](/docs/cloud-storage/sdk/python/index) for programmatic access. ## Delete Recordings Automatically Set `recording_retention` at creation to have the recording deleted without a further request. Supply exactly one field: ```json { "meeting_url": "https://meet.google.com/abc-defg-hij", "idempotency_key": "recorded-planning-2026-11-19", "recording_export": { "bucket": "meeting-recordings" }, "recording_retention": { "days": 30 } } ``` | Field | Deletes the recording | Bounds | | --- | --- | --- | | `hours` | This many hours after the meeting session ends | 1 to 8,760 | | `days` | This many days after the meeting session ends | 1 to 365 | | `delete_at` | At this instant (RFC 3339 with an offset) | At least one hour after the meeting starts (`join_at`, or the time of the request) and at most 365 days after it | The policy requires a recording: on Google Meet and Teams that means `recording_export.bucket`, and on any platform `recording: false` with a policy returns `400 invalid_request`. The session returns the policy as `config.recording_retention`; a `days` value is returned as `hours` (`{ "hours": 720 }`). The policy cannot be changed after creation. [Calendar auto-join](/docs/meeting/join-meeting/calendar-auto-join) defaults do not carry a retention policy. A create request can return `503 not_configured` when automatic deletion is unavailable; no session is created. On Zoom, the policy deletes the recording held by the Meeting service, and its download links stop working. That recording is removed after 167 hours at the latest, so a longer policy does not keep it longer; `recording.deleted` is still sent when the policy is due. On Google Meet and Teams, when the recording is due the Meeting service deletes the exported object from your bucket on behalf of the user who created the session: - Only the object this session exported is deleted. Other objects in the bucket are never touched. - If the object is already gone, the deletion counts as done. - If the object at that key no longer matches the exported recording, it is left in place and the deletion fails with `object_changed`. - If that user can no longer access the bucket, the deletion is retried for about a day and a half and then reported as failed. Delete the object through Storage in that case. - In a versioned bucket the deletion adds a delete marker; earlier versions remain under your control. Only the recording is deleted. The session, transcript, events, and artifacts are kept; to remove the transcript, see [Delete the Transcript](/docs/meeting/collect-results#delete-the-transcript). ### Track Automatic Deletion `GET /v2/meeting_sessions/{id}/recordings` adds a `retention` object for sessions created with a policy. For a Zoom session the response carries `data` and `retention` without `recording_export`. ```json { "data": [], "recording_export": { "type": "video", "bucket": "meeting-recordings", "region": "us-central-1", "key": "weekly-planning/recording.mp4", "bytes": 1048576, "status": "exported", "exported_at": "2026-11-03T12:00:00Z" }, "retention": { "delete_after": "2026-12-03T12:30:00Z", "status": "scheduled", "deleted_at": null } } ``` | `retention.status` | Meaning | | --- | --- | | `scheduled` | Deletion is pending. `delete_after` is `null` for an `hours` or `days` policy until the session has ended. | | `deleted` | The recording was deleted, or was already gone. `deleted_at` is set. | | `skipped` | The session produced no recording, so there was nothing to delete. | | `failed` | Deletion was abandoned after retries. `failure_reason` says why. | `recording_export.status` stays `exported` after the object has been deleted. Read `retention.status` to learn whether the recording still exists. The outcome is also sent as an event through the event history, live stream, and configured [webhook](/docs/meeting/webhooks): | Event | Sent when | Payload | | --- | --- | --- | | `recording.deleted` | The recording was deleted, or was already gone | `session_id`, `reason` (`retention`), `delete_after`, `deleted_at` | | `recording.deletion_failed` | Deletion was abandoned after retries | `session_id`, `reason` (`retention`), `delete_after`, `failure_reason` | A session that never produced a recording emits neither event. | `failure_reason` | Meaning | | --- | --- | | `storage_access_denied` | The bucket refused the request, or the user who created the session no longer has access to it. | | `storage_unavailable`, `storage_not_configured` | Storage could not be reached to delete the object. | | `object_changed` | The object at the exported key no longer matches the recording, so it was not deleted. | | `unexpected_object_key`, `service_destination_unsupported` | The export is not at a location this session can delete. | | `export_pending` | The export had not finished by the time retries ran out. | | `recording_lookup_unavailable` | The export record could not be read. | | `provider_error_4xx`, `provider_error_5xx`, `provider_error_network`, `provider_deletion_unsupported` | The deletion request for a recording held by the Meeting service failed. | Accept `failure_reason` values that are not listed here. ## Retention and Deletion The video belongs to your Storage bucket. Without a `recording_retention` policy it is kept until you remove it: manage its [retention and object locks](/docs/cloud-storage/lock-and-retention/index) through Storage, and [delete the object](/docs/cloud-storage/api-reference/object-operations/delete-object/index) when you no longer need it. [Storage billing](/docs/cloud-storage/billing/index) applies. Leaving or cancelling a meeting does not delete the exported file. The Meeting API's `recording_media` deletion endpoint does not delete customer Storage objects. Deleting the video through Storage leaves the meeting session, transcript, events, and artifacts intact. Zoom recordings and existing Google Meet or Teams recordings held by the Meeting service remain available from `GET /v2/meeting_sessions/{id}/recordings` as temporary download links in `data`. Continue using the same session ID and endpoint; these recordings do not require a Storage bucket or migration. Refresh the result when a link expires. Choose the download method from the returned fields, rather than the meeting platform alone. See [Collect Results](/docs/meeting/collect-results#recordings) and [recording retention](/docs/meeting/pricing#recording-retention). --- ### Meeting Presence > Source: https://developers.telnyx.com/docs/meeting/presence.md The bot is a participant, not just a recorder. Everyone in the room sees something -- a name in the roster, a camera tile, and often a message in chat as it joins. This section covers that identity. For making the bot *act* once it is there, see [Controlling the Bot](/docs/meeting/control). ## Roster Name The bot joins as a visible participant with its own entry in the meeting roster. Set `bot_name` (1-100 characters) when you create the session to control the name other attendees see: ```bash curl -X POST https://api.telnyx.com/v2/meeting_sessions \ -H "Authorization: Bearer $TELNYX_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "meeting_url": "https://meet.google.com/abc-defg-hij", "bot_name": "Q3 Decisions Scribe", "idempotency_key": "decisions-meeting-2026-11-10" }' ``` You can also rename the bot before it joins with `PATCH /v2/meeting_sessions/{id}` while the session is `scheduled`. There is no API for a custom profile picture. The bot uses the meeting platform's default profile for its account, so its roster entry is the name above plus the platform's standard bot appearance. ## Identity Choose a camera appearance: - **Nothing** -- the default. A plain roster entry with no camera tile. - [**Still image**](/docs/meeting/presence/still-images) -- a static JPEG shown as the bot's camera tile. - [**Digital avatar**](/docs/meeting/digital-avatars) -- the attached AI Assistant's avatar, lip-synced to the assistant's speech. A digital avatar takes precedence over a still image: on a session with `assistant.avatar` set, the image is ignored and its URL is never fetched. ## Introductions The bot can announce itself the moment it is admitted, by voice, in chat, or both. Because these are create parameters rather than actions, they are documented with the rest of the create request -- see [Announce the Bot on Arrival](/docs/meeting/join-meeting/introductions). ## Related - [Controlling the Bot](/docs/meeting/control) -- make the bot speak, post to chat, or run an assistant - [Still images](/docs/meeting/presence/still-images) -- a static camera tile for the bot - [Digital avatars](/docs/meeting/digital-avatars) -- render the bot as a speaking avatar on camera - [Announce the Bot on Arrival](/docs/meeting/join-meeting/introductions) -- `speak_on_enter` and `chat_on_enter` - [Join a Meeting](/docs/meeting/join-meeting) -- create a meeting session and send the bot --- ### Still Images > Source: https://developers.telnyx.com/docs/meeting/presence/still-images.md Use a camera image on Google Meet, Zoom, or Teams. `POST /v2/meeting_sessions` accepts an optional `camera_image`: a static image shown as the bot's camera tile for this session. It is not an account or participant profile photo, and its exact presentation can vary by meeting platform and recording configuration. Supply exactly one JPEG source -- inline Base64 or an HTTPS URL: ```json { "camera_image": { "format": "jpeg", "base64_data": "" } } ``` ```json { "camera_image": { "format": "jpeg", "url": "https://cdn.example.com/bot-camera.jpg" } } ``` The image contract is strict: - `format` must be `jpeg`. Supplying both `base64_data` and `url`, or neither, is rejected. - `base64_data` must be canonical plain RFC 4648 Base64 -- no data URIs, whitespace, or URL-safe alphabet. The encoded value is limited to 1,835,008 characters and the decoded JPEG to 1,363,148 bytes; the image itself to 4,096 pixels per dimension and 4 megapixels. - `url` must be a public HTTPS URL of at most 2,048 characters with no credentials, fragment, or explicit non-default port. The service fetches it once before creating the bot, with a five-second timeout, no redirects, and a required `2xx` `image/jpeg` response. Signed query strings are allowed -- treat a signed URL as a credential. - `camera_image` is write-only: neither the image bytes nor the source URL are returned on the session. If the session also has a [digital avatar](/docs/meeting/digital-avatars) (`assistant.avatar: true`), the avatar takes precedence -- the static image is ignored and a URL source is not fetched. ## Related - [Meeting Presence](/docs/meeting/presence) -- the bot's roster name and identity choices - [Digital avatars](/docs/meeting/digital-avatars) -- a rendered avatar instead of a static tile - [Join a Meeting](/docs/meeting/join-meeting) -- the rest of the create request --- ### Digital Avatars > Source: https://developers.telnyx.com/docs/meeting/digital-avatars.md Assistant avatars are supported on Google Meet, Zoom, and Teams. Instead of a plain roster entry, a bot running a [Telnyx AI Assistant](/docs/meeting/ai-assistants) can appear on camera as that assistant's avatar. Telnyx renders the avatar -- lip-synced video and audio -- from the assistant's own conversation, and the bot streams it as its camera. This suits branded, customer-facing, or demo meetings where a personified presence matters. The avatar is configured on the assistant, not on the meeting session. Add `avatar_settings` to the assistant first -- see [Configure an avatar](/docs/inference/ai-assistants/avatars#configure-an-avatar), including its [voice requirements](/docs/inference/ai-assistants/avatars#voice-compatibility). Then opt the session in with `assistant.avatar`: ```bash curl -X POST https://api.telnyx.com/v2/meeting_sessions \ -H "Authorization: Bearer $TELNYX_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "meeting_url": "https://meet.google.com/abc-defg-hij", "bot_name": "AI Assistant", "assistant": { "id": "assistant-6207ab25-b185-478f-b2ef-85159e226727", "avatar": true, "audio_gate": "full_duplex", "leave_on_end": true } }' ``` | Field | Type | Description | | --- | --- | --- | | `assistant.avatar` | boolean | Show the avatar saved on the assistant as the bot's camera. `false` by default: the assistant speaks without video. Requires `assistant`. | The request carries no avatar ID or key. At creation the service reads the assistant and rejects the request if it has no Telnyx avatar configured, before any bot is sent to the meeting. The rest of the [`assistant` parameters](/docs/meeting/ai-assistants#assistant-parameters) work as usual. ## How It Works - **The assistant owns the avatar's speech.** Only the assistant's conversation is rendered, so [`speak`](/docs/meeting/control/speak) and `stop_speaking` return `409 invalid_state`, and `speak_on_enter` is rejected with `400 invalid_request` -- the assistant greets through its avatar instead. `chat_on_enter` works as usual. - **Startup takes a few seconds.** The bot shows an **Avatar starting** frame until the avatar's video is playing; `avatar_state` then becomes `connected` and the assistant's greeting starts. Read `avatar_state` rather than assuming the camera is ready. - **Interruption follows the assistant.** With `audio_gate: "full_duplex"`, the assistant's own interruption handling stops the avatar when a participant genuinely interrupts it; short backchannels such as "mm-hmm" do not cut it off. With `half_duplex`, the assistant does not hear the room while the avatar speaks, as without an avatar. - **Immediate REST creates only.** `join_at` is not supported, avatars are not available through calendar auto-join or the [MCP server](/docs/meeting/mcp), and avatar mode is chosen at creation and cannot be toggled mid-meeting. - **Platforms.** Google Meet, Zoom, and Teams. - **Recording.** The avatar's camera video is not included in the recording; the bot's audio is. - **Camera image.** The avatar takes precedence over a [static `camera_image`](/docs/meeting/presence/still-images): the image is ignored and its URL is not fetched. ## Avatar State The session response carries the avatar captured from the assistant at creation, and its state: ```json "avatar": { "provider": "telnyx", "model": "foxtrot-1", "avatar_id": "elena", "background_id": "studio" }, "avatar_state": "connected", "avatar_state_changed_at": "2026-10-12T12:00:00.000Z" ``` `avatar_state` is `starting`, `connected`, `degraded`, or `disconnected`, and each change is recorded as an `avatar.connected`, `avatar.degraded`, or `avatar.disconnected` [session event](/docs/meeting/events). All three fields are `null` on a session without an avatar. ## Voice-only Fallback If the avatar cannot start, or stops working mid-meeting, the session continues voice-only: the bot shows a **Voice only** frame and plays the assistant's audio itself. - **Before the avatar is live**, the assistant's conversation restarts once without the avatar. A second failure fails the assistant as it would without an avatar. - **After the avatar is live**, the remaining speech switches to voice-only without interrupting the conversation. The utterance in flight is not replayed. Either way `avatar_state` becomes `degraded`, and the `avatar.degraded` event carries one of these reasons: | Reason | Meaning | | --- | --- | | `telnyx_avatar_unavailable` | Telnyx could not start the avatar -- for example, setup did not finish in time, or the avatar was removed from the assistant after the session was created. | | `telnyx_avatar_ended` | Telnyx ended the avatar mid-session. | | `webrtc_failed` | The bot's media connection to the avatar failed. | | `video_autoplay_blocked_muted` | The bot's browser could not play the avatar video. | | `speech_processing_failed` | Voice-only playback failed for one utterance. The session keeps running. | Telnyx ends the avatar shortly before an hour into the session; a longer meeting continues voice-only with `telnyx_avatar_ended`. ## Troubleshooting | Symptom | Typical cause | | --- | --- | | `400 invalid_request`, message starts `assistant_avatar_not_configured:` | The assistant has no Telnyx `avatar_settings`. [Configure an avatar](/docs/inference/ai-assistants/avatars#configure-an-avatar) on it and retry. | | `400 invalid_request`, message starts `assistant_not_found:` | The assistant does not exist or does not belong to this account. | | `400 invalid_request` on a top-level `avatar` object | Set `assistant.avatar: true` on an assistant with an avatar configured. | | `400 invalid_request` with `speak_on_enter` | Not supported with an avatar. Let the assistant greet, or use `chat_on_enter`. | | `409 invalid_state`, message starts `avatar_requires_assistant_speech:` | `speak` or `stop_speaking` was sent to an avatar session. | | `422 unsupported_capability` | The meeting platform does not support the bot's camera output. | | `503 assistant_lookup_unavailable` | The assistant could not be read. No bot was created; retry. | ## Related - [Telnyx AI Assistants](/docs/meeting/ai-assistants) -- attach the assistant the avatar belongs to - [AI Assistant avatars](/docs/inference/ai-assistants/avatars) -- configure the avatar, model, and background on the assistant - [Meeting Presence](/docs/meeting/presence) -- the bot's roster name and identity choices - [Still images](/docs/meeting/presence/still-images) -- a static camera tile instead of an avatar --- ### Controlling the Bot > Source: https://developers.telnyx.com/docs/meeting/control.md While the meeting is `active`, the bot does three things, and you choose how each is driven: - [**Speak**](/docs/meeting/control/speak) -- say text out loud, and stop mid-utterance. - [**Chat**](/docs/meeting/control/chat) -- post to the meeting chat. - [**Automate**](/docs/meeting/ai-assistants) -- hand the *speaking* to a Telnyx AI Assistant, which listens and answers on its own. Use `speak` and `send_chat` for text your application supplies. Attach an assistant when it should listen and respond on its own; chat remains a separate action. See [AI Assistants](/docs/meeting/ai-assistants) for the assistant's configuration and [Speak](/docs/meeting/control/speak) for speech-action requirements. Successful manual actions return `202 Accepted` with `data.accepted: true`. Speech can still be playing after the response; Google Meet and Teams chat success follows confirmation that the message was sent. See each action’s retry guidance before repeating a request. ## Same Commands over WebSocket The same actions can be sent as frames on the [live transcript stream](/docs/meeting/live-transcript) instead of over REST: ```json { "action": "speak", "text": "Let's recap what we agreed on.", "interrupt": false } ``` ```json { "action": "send_chat", "text": "Noted. I will send the summary after the call." } ``` The stream is convenient for low-latency bots, but it allows at most 8 commands in flight or queued and gives no per-command acknowledgement. Prefer REST actions when you need a durable, acknowledged response. The socket's own limits -- frame size, close codes, and cursor resumption on reconnect -- are covered in [Live Transcript](/docs/meeting/live-transcript#connect-to-the-websocket-stream). ## Errors Action requests fail with a non-2xx status and an error envelope, for example when the session is not `active`: ```json { "error": { "code": "invalid_state", "message": "session must be active to perform this action (current status: ended)" } } ``` Not every failure carries a body. A `502` from [`speak`](/docs/meeting/control/speak) — for instance when audio delivery fails — can come back with no JSON, so branch on the status code before parsing the body. Every code the Meeting API returns is listed in [Meeting API Errors](/docs/meeting/errors). ## Related - [Speak](/docs/meeting/control/speak) -- make the bot say something, and stop it - [Chat](/docs/meeting/control/chat) -- post to the meeting chat and read replies - [Telnyx AI Assistants](/docs/meeting/ai-assistants) -- let an assistant hold the conversation - [Live Transcript](/docs/meeting/live-transcript) -- follow the transcript stream in real time --- ### Speak > Source: https://developers.telnyx.com/docs/meeting/control/speak.md `POST /v2/meeting_sessions/{id}/actions/speak` makes the bot speak text into the meeting. The session's `voice` is the default; override it per request. ```bash curl -X POST https://api.telnyx.com/v2/meeting_sessions/mtgsess_9b2f.../actions/speak \ -H "Authorization: Bearer $TELNYX_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "text": "Here are the three decisions from this call.", "interrupt": false }' ``` The full request schema is on [Speak in a meeting session](/api-reference/meeting-session-actions/speak-in-a-meeting-session). Successful speech and stop requests return `202 Accepted` with `{"data":{"accepted":true}}`. This acknowledges the action; it does not mean the utterance has finished. Speech is queued unless `interrupt: true` is set to replace current and queued speech. Repeating a `speak` request can produce a second utterance. If `barge_in` was enabled on the session, participants can interrupt the bot with their own speech. An attached [Telnyx AI Assistant](/docs/meeting/ai-assistants) is intended to manage the conversation. Wait for the assistant to be `connected` before sending manual speech. Audio delivery failures can return `502`; see [Errors](/docs/meeting/control#errors). With a [digital avatar](/docs/meeting/digital-avatars) (`assistant.avatar: true`), the avatar renders only the assistant's own speech: `speak` and `stop_speaking` return `409 invalid_state`. ## Stop Speaking `POST /v2/meeting_sessions/{id}/actions/stop_speaking` stops the current utterance and flushes the queue. ```bash curl -X POST https://api.telnyx.com/v2/meeting_sessions/mtgsess_9b2f.../actions/stop_speaking \ -H "Authorization: Bearer $TELNYX_API_KEY" ``` ## Related - [Controlling the Bot](/docs/meeting/control) -- the WebSocket alternative and the action error envelope - [Chat](/docs/meeting/control/chat) -- post to the meeting chat instead of speaking - [Announce the Bot on Arrival](/docs/meeting/join-meeting/introductions) -- `speak_on_enter` - [Digital avatars](/docs/meeting/digital-avatars) -- an assistant's avatar, which speaks only the assistant's words --- ### Chat > Source: https://developers.telnyx.com/docs/meeting/control/chat.md `POST /v2/meeting_sessions/{id}/actions/send_chat` posts a message to the meeting chat as the bot. ```bash curl -X POST https://api.telnyx.com/v2/meeting_sessions/mtgsess_9b2f.../actions/send_chat \ -H "Authorization: Bearer $TELNYX_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "text": "I will send the summary after this call." }' ``` Chat is supported on Google Meet, Zoom, and Teams. The session must be `active`. Text is limited to 4,000 characters. On Google Meet and Teams it must also fit in 4,096 UTF-8 bytes, contain non-whitespace text, and contain no control characters except tabs and line breaks. CRLF line endings are normalized to LF. The session accepts at most 1,000 chat requests, including an entrance message. ## Responses and Retries A successful request returns `202 Accepted` with `{"data":{"accepted":true}}`. For Google Meet and Teams, success follows confirmation that the message was sent. A timeout or failure can leave delivery uncertain: | Response | Action | | --- | --- | | `502 chat_not_sent` | The message was not sent. Retry if it is still needed. | | `502 chat_delivery_unknown` | Check the meeting chat and `chat.sent` events before retrying. The message may already have been delivered. | | `409 invalid_state` | Check that the session is active and has not reached its chat request limit. | | `400 invalid_request` | Correct the text length or content. | Each new `send_chat` request is a new message; the action has no idempotency key. Do not automatically repeat it after a timeout or an uncertain response. Chat is two-way: messages other participants post are delivered as `chat.message` events, while the bot's own posts echo back as `chat.sent`. Read them on the [WebSocket stream](/docs/meeting/live-transcript) for live delivery, or from the stored [event history](/docs/meeting/events). There is no chat webhook -- [webhooks](/docs/meeting/webhooks) carry session status, transcript completion, recordings and artifacts only. The full request schema is on [Send chat in a meeting session](/api-reference/meeting-session-actions/send-chat-in-a-meeting-session). You can send chat messages while a [Telnyx AI Assistant](/docs/meeting/ai-assistants) is attached. To post a message automatically the moment the bot joins, see [Announce the Bot on Arrival](/docs/meeting/join-meeting/introductions). ## Related - [Controlling the Bot](/docs/meeting/control) -- the WebSocket alternative and the action error envelope - [Speak](/docs/meeting/control/speak) -- say it out loud instead - [Announce the Bot on Arrival](/docs/meeting/join-meeting/introductions) -- `chat_on_enter` - [Session Events](/docs/meeting/events) -- read `chat.message` and `chat.sent` --- ### Telnyx AI Assistants > Source: https://developers.telnyx.com/docs/meeting/ai-assistants.md Bring a [Telnyx AI Assistant](/docs/inference/ai-assistants/no-code-voice-assistant) into the meeting as the bot's intelligence. The assistant hears the room through the bot, reasons with the model and tools you configured, and responds in its own configured voice -- effectively running your assistant inside the meeting. This turns the bot from a recorder into a participant that can answer questions, take notes, and act on what is discussed. If you intend to use an AI Assistant in a meeting with more than one participant, you will need to do some additional configuration to avoid the Assistant addressing every person speaking. See [Suggested Assistant configuration](#suggested-assistant-configuration). ## Attach an Assistant Attach an assistant with the `assistant` parameter at session creation: ```bash curl -X POST https://api.telnyx.com/v2/meeting_sessions \ -H "Authorization: Bearer $TELNYX_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "meeting_url": "https://meet.google.com/abc-defg-hij", "bot_name": "AI Assistant", "idempotency_key": "assistant-meeting-2026-11-10", "assistant": { "id": "assistant-6207ab25-b185-478f-b2ef-85159e226727", "audio_gate": "half_duplex" } }' ``` The Assistant must belong to the authenticated customer account. | Field | Type | Description | | --- | --- | --- | | `id` | string | The AI Assistant to attach, from your [Assistants](/docs/inference/ai-assistants/no-code-voice-assistant) configuration. 1-255 characters. | | `audio_gate` | string | How meeting audio reaches the assistant: `half_duplex` or `full_duplex`. `full_duplex` allows participants to interrupt the assistant and **costs significantly more** -- see [Audio Gate](#assistant-parameters). | | `dynamic_variables` | object | Values for the [dynamic variables](/docs/inference/ai-assistants/dynamic-variables) in the Assistant's instructions, greeting, or tools. String-to-string, at most 63 entries. | | `leave_on_end` | boolean | Leave the meeting when the Assistant's conversation ends or fails. `false` by default. | | `avatar` | boolean | Show the [avatar configured on the Assistant](/docs/inference/ai-assistants/avatars) as the bot's camera. `false` by default. See [Digital avatars](/docs/meeting/digital-avatars). | The assistant listens to the meeting, runs its configured model and tools (webhooks, handoff, knowledge bases, MCP servers, and more), and speaks in the voice configured on the Assistant itself -- the session's `voice` applies to [manual speech](/docs/meeting/control/speak) and `speak_on_enter` greetings. Its conversation is captured in the [live transcript](/docs/meeting/live-transcript) and [artifacts](/docs/meeting/collect-results) like any other participant. ## Assistant Parameters `audio_gate` defaults to `half_duplex`. Configure the assistant’s conversational voice in its settings. Each `assistant` parameter has its own configuration and constraints. Select a tab for details. `id` Required Supply the ID of an existing Telnyx AI Assistant in your account. The Assistant's instructions, model, voice, tools, transcription configuration, and other behavior all come from that Assistant resource. - Supply the resource ID, not the Assistant's display name. - The Assistant must be owned by the authenticated customer account. - Test the Assistant on a normal Voice API call before using it in a meeting. - Do not include an Assistant API key in the request. Use the same Telnyx API key that authenticates the meeting request. `audio_gate` Optional Choose `half_duplex` to pause listening while the assistant speaks. Choose `full_duplex` to let participants interrupt it. Set this field explicitly to use the same behavior across meeting platforms. **`full_duplex` costs significantly more, and the increase scales with attendance.** One stream per participant means the per-minute cost is multiplied by the number of participants: a six-person meeting ingests roughly six times the audio of a one-person meeting for the same wall-clock duration. Choose it when interruption genuinely matters to the experience, not as a default. Per-participant audio is metered separately from the flat per-minute rates and will be billed on top of them. `leave_on_end` Optional When the Assistant's conversation reaches a terminal state, the bot leaves the meeting: ```json { "assistant": { "id": "assistant-id", "leave_on_end": true } } ``` The bot leaves when the conversation is `ended` or `failed`. If this option is `false`, the bot stays until you stop the session or another departure rule applies. Echoed back as `assistant.leave_on_end`, `false` when unset. `dynamic_variables` Optional One Assistant, many meetings, different facts each time. If the Assistant's instructions, greeting, or tools use [dynamic variables](/docs/inference/ai-assistants/dynamic-variables), supply this meeting's values when you create the session: ```json { "meeting_url": "https://meet.google.com/abc-defg-hij", "assistant": { "id": "assistant-id", "dynamic_variables": { "candidate_name": "Ada Lovelace", "role": "Staff Engineer" } } } ``` They are delivered before the Assistant's first utterance, so a greeting that reads `Hi {{candidate_name}}` is already filled in when the Assistant opens the conversation -- the same guarantee as the [realtime conversation API](/docs/inference/ai-assistants/realtime-conversations#pass-dynamic-variables), which also accepts conversation-specific values. The limits, each rejected with `400 invalid_request`: - At most **63 entries**. - Keys **1-128 characters**. - Values must be **strings**. A number or a nested object is rejected rather than coerced. The complete map may contain up to **1,047,552 bytes (1023 KiB)**. - `streaming_audio`, `ai_assistant_streaming_audio` and `meeting_session_id` are **reserved**. They are managed by Telnyx and cannot be supplied as custom variables. Echoed back as `assistant.dynamic_variables`, and `null` when none were supplied. They are fixed for the session: there is no way to change them once the bot is on its way. The `telnyx_` prefix is [reserved for system variables](/docs/inference/ai-assistants/dynamic-variables) and is not the place to put your own, but the Meeting service does not filter it -- so `telnyx_end_user_target` reaches an Edge Compute [dynamic-variables webhook](/docs/edge-compute/guides/ai-assistant-backend) as it would on any other channel. `avatar` Optional Show the Assistant's avatar as the bot's camera, lip-synced to the Assistant's own speech: ```json { "assistant": { "id": "assistant-id", "avatar": true } } ``` The avatar is configured on the Assistant resource with `avatar_settings` -- see [AI Assistant avatars](/docs/inference/ai-assistants/avatars). If the Assistant has none, the request is rejected with `400 invalid_request` before a bot is created. With an avatar, `speak_on_enter` is rejected and `speak` and `stop_speaking` return `409 invalid_state`: only the Assistant's conversation is rendered. Startup, voice-only fallback, and `avatar_state` are covered in [Digital avatars](/docs/meeting/digital-avatars). Not echoed back on `assistant`. A session with an avatar returns it in the top-level `avatar` and `avatar_state` fields instead. ## Suggested Assistant Configuration Everything above is sent on the meeting session. This section is the other half -- settings on the **Assistant resource itself**, in the [Portal](https://portal.telnyx.com/#/ai/assistants) or through the Assistants API. Nothing here is required to attach an Assistant to a meeting, and nothing here is meeting-specific API surface. ### For meetings with more than one participant A one-to-one call has an obvious turn structure: the caller speaks, the Assistant answers. A meeting does not. People talk to each other, and an Assistant that answers every turn it hears will talk over a discussion it was never part of. **Add the `skip_turn` tool.** It lets the Assistant choose to say nothing on a turn -- in effect, to speak only when spoken to. Without it the Assistant has no way to decline a turn, so it will attempt a response to whatever it just heard. ```json Tools { "type": "skip_turn", "skip_turn": {} } ``` **Then tell the Assistant when to use it.** The tool gives the Assistant the ability to stay quiet; the instructions decide when it should. This is a starting point drawn from testing, not a required form of words -- adapt it to your Assistant's own voice: ```text Instructions The call may include the main user and one or more additional participants. Pay close attention to who is speaking and who they are addressing. If the participants are talking to each other and are not addressing you, use the Skip Turn tool and remain silent. If someone addresses you directly, respond normally. ``` **Give it a name people can use.** There is no wake word. Nothing listens for a trigger phrase and switches the Assistant on -- "addressed directly" is a judgement it makes from the conversation, which is why the instructions above have to describe it. What it answers to is the Assistant's own **name**, set on the Assistant resource. An Assistant named `Weather Assistant` is addressed as "Weather Assistant"; one named `Nyx` is addressed as "Nyx". Nothing extra is wired up for meetings -- name the Assistant and that is the name in the room. So the name is worth choosing for a room rather than for a list. It is spoken aloud by people over compressed audio, so two or three syllables carry better than one, and a name that collides with ordinary meeting speech -- "signal", "echo", "central" -- will pull the Assistant into conversations it was not part of. It is also worth naming in the instructions, so the Assistant recognises itself when somebody says it: ```text Instructions You are in this meeting as Nyx. Participants will address you by that name. ``` How an Assistant handles several speakers at once is not specific to meetings. [Multi-participant calls](/docs/inference/ai-assistants/multi-participant-calls) covers the underlying behaviour and is worth reading alongside this. ### To let the Assistant end its own session **Add the `hangup` tool** if the Assistant should be able to decide it is no longer needed and end the conversation, rather than staying until something else removes it. ```json Tools { "type": "hangup", "hangup": {} } ``` This composes with [`leave_on_end`](#assistant-parameters): the tool ends the Assistant's conversation, and `leave_on_end: true` on the session turns that into the bot leaving the meeting. Set the tool alone and the Assistant stops talking while the bot stays in the room; set both and the bot goes when the Assistant decides it is done. ## Authentication and Resource Ownership For production requests: - The request must pass through the authenticated production Gateway, which supplies an account and actor identity. - The Assistant must belong to that customer. - The Meeting service acts on the customer's behalf using short-lived delegated credentials resolved immediately before each command. - API keys, bearer tokens, and webhook public keys must not be included in the `assistant` object. Unknown fields are rejected. For example, this is invalid: ```json { "assistant": { "id": "assistant-id", "api_key": "***" } } ``` Individual-session responses return `id`, `audio_gate`, `dynamic_variables` and `leave_on_end` on `assistant`. Session list responses omit `dynamic_variables`. When `avatar` was set, the avatar is returned in the session's top-level `avatar` and `avatar_state` fields instead. ## Session Restrictions Assistant-backed meeting sessions are currently: - **Immediate-only** -- `join_at` cannot be supplied. - **Incompatible with `barge_in: true`** -- the Telnyx AI Assistant owns interruption behavior. To let participants interrupt the Assistant, set `audio_gate: "full_duplex"` rather than `barge_in`. - **Compatible with an avatar** -- set `assistant.avatar: true` to render the Assistant's speech through the [avatar configured on the Assistant](/docs/meeting/digital-avatars). ## Troubleshooting | Symptom | Typical cause | | --- | --- | | `400 invalid_request` | `id` is empty or over 255 characters; `audio_gate` is not `half_duplex` or `full_duplex`; `dynamic_variables` exceeds 63 entries, has a key outside 1-128 characters, has a non-string value, exceeds the aggregate 1,047,552-byte budget, or uses a reserved key; `barge_in: true` or `join_at` was supplied; or the object carries a field that is not `id`, `audio_gate`, `dynamic_variables`, `leave_on_end` or `avatar`. | | `400 invalid_request` with `assistant.avatar: true` | The message starts `assistant_avatar_not_configured:` (the Assistant has no avatar configured) or `assistant_not_found:` (the Assistant does not exist or belongs to another account), or `speak_on_enter` was also supplied. | | `409 invalid_state` on `speak` or `stop_speaking` | The session has an avatar, which renders only the Assistant's own speech. The message starts `avatar_requires_assistant_speech:`. | | `503 assistant_lookup_unavailable` | The Assistant could not be read to check its avatar. No bot was created; retry. | | `503 not_configured` | Assistant support is currently unavailable. | | Assistant reaches `connected` but is silent | Check the Assistant itself: test it on a normal Voice API call, and confirm it has a voice configured. | | A greeting or instruction still shows `{{a_variable}}` | No value was supplied for that key. Variables are per session and set only at create time, so check the `dynamic_variables` echoed back on the session rather than the Assistant's own configuration. | | `assistant_state` becomes `failed` | The Assistant could not be started. Confirm the ID is correct and the Assistant belongs to this account. | | The Assistant answers when people are talking to each other | It has no way to decline a turn. Add the `skip_turn` tool and the instructions in [Suggested Assistant configuration](#suggested-assistant-configuration) — this is the most common complaint in meetings with more than two people. | | The Assistant stopped but the bot is still in the meeting | Expected without `leave_on_end`. The Assistant reaching `ended` or `failed` does not remove the bot on its own — set `assistant.leave_on_end: true` at create time, or remove the bot yourself when you see the state change. | | Assistant responds to itself | Use `half_duplex` to pause listening while the assistant speaks. Participants cannot interrupt it in that mode. | | Participants cannot interrupt the Assistant | Expected on `half_duplex`, including for 300 ms after it stops speaking. Set `audio_gate: "full_duplex"` -- and read the cost note first. | ## Combine with a Digital Avatar An avatar is part of the Assistant, so it is only available with an `assistant` attached: | `assistant.avatar` | Result | | --- | --- | | omitted or `false` | AI Assistant runs the conversation as a plain roster participant | | `true` | AI Assistant runs the conversation, rendered as its [speaking avatar](/docs/meeting/digital-avatars). Either `audio_gate` works | ## Related - [Multi-participant calls](/docs/inference/ai-assistants/multi-participant-calls) -- how the Assistant behaves when multiple people are in the conversation - [Controlling the Bot](/docs/meeting/control) -- the manual alternative: speak and chat by hand - [Meeting Presence](/docs/meeting/presence) -- the bot's roster name and on-camera identity - [Digital avatars](/docs/meeting/digital-avatars) -- render the bot as a speaking avatar on camera --- ## After the Meeting ### Collect Results > Source: https://developers.telnyx.com/docs/meeting/collect-results.md When the meeting ends, the transcript is finalized and stored. If `summarize_on_end` was set to `true` on session creation, a `summary` artifact is generated via Telnyx Inference (action items are a separate artifact type you request yourself). Read results directly, or have them pushed to a webhook. A terminal `ended` status alone does not prove the bot attended -- check that `joined_at` is non-null when attendance matters. ## Get the Transcript `GET /v2/meeting_sessions/{id}/transcript` returns the finalized transcript, cursor-paged: with no query parameters it returns at most the first 100 segments, not the entire transcript. Page with `after` and `limit` (1-1,000) until a request comes back with empty `data`: Cursor and long-poll query parameters (`after`, `limit`, `wait_seconds`) are documented on [List meeting session transcript](/api-reference/meeting-session-data/list-meeting-session-transcript). ```bash curl -H "Authorization: Bearer $TELNYX_API_KEY" \ "https://api.telnyx.com/v2/meeting_sessions/mtgsess_9b2f.../transcript?after=0&limit=1000" ``` ```json { "data": [ { "seq": 41, "text": "let's ship it", "speaker_label": "Ada L.", "confidence": 0.94, "relative_ts": 1240.5, "occurred_at": "2026-06-16T09:00:42Z" } ], "meta": { "next_after": 41 } } ``` The `transcript.completed` webhook fires when the transcript is finalized. See [Webhooks](/docs/meeting/webhooks). ### Delete the Transcript `DELETE /v2/meeting_sessions/{id}/transcript` permanently deletes a session's transcript. It works for Google Meet, Teams, and Zoom sessions and cannot be undone: ```bash curl -X DELETE https://api.telnyx.com/v2/meeting_sessions/mtgsess_9b2f.../transcript \ -H "Authorization: Bearer $TELNYX_API_KEY" ``` ```json { "data": { "meeting_session_id": "mtgsess_9b2f...", "deleted": true, "transcript_deleted_at": "2026-11-18T01:02:03.000Z", "segments_deleted": 412 } } ``` The transcript must be final before it can be deleted, so that nothing is added after the deletion: | Session | Result | | --- | --- | | Still running, scheduled, or leaving | `409 invalid_state`. End the session first. | | Ended, `transcript.completed` not yet emitted | `409 invalid_state`. Retry after `transcript.completed`. | | Ended and finalized | `200`. The transcript is deleted. | | Ended before the bot joined | `200`. There was nothing to delete. | | Transcript already deleted | `200` with the original `transcript_deleted_at` and `segments_deleted: 0`. | | Unknown session, or one that belongs to another account | `404 not_found` | The call is idempotent and safe to retry. Deletion removes every transcript segment and the `transcript.segment` entries in the session's [event history](/docs/meeting/events), so `GET /events` and a stream replay no longer return transcript text. Afterwards: - `GET /v2/meeting_sessions/{id}` includes `transcript_deleted_at`. The field is absent until the transcript is deleted. - `GET /v2/meeting_sessions/{id}/transcript` returns `200` with an empty list. - A `transcript.deleted` event with `session_id`, `deleted_at`, and `segment_count` is added to the event history and sent to the live stream and configured [webhook](/docs/meeting/webhooks). - `POST /v2/meeting_sessions/{id}/artifacts` returns `409 transcript_deleted`. An artifact that was still generating when the transcript was deleted ends `failed` with `failure_reason: "transcript deleted"`. Deletion does not remove: - Artifacts generated before the deletion. They stay readable. - Webhook payloads already delivered to your endpoint. - Recordings. Delete those through Storage, with [`recording_retention`](/docs/meeting/recording#delete-recordings-automatically), or with [Delete Recording Media](#delete-recording-media). Transcript deletion is available through REST only; there is no MCP tool for it. ## Artifacts Artifacts are generated outputs read from the transcript. Each one is its own request (`summarize_on_end` attempts only a `summary`). Trigger one, then poll until it is `completed` and read the generated text from `content.text`. An artifact can be requested any time the transcript has content -- including while the meeting is still running; a session with an empty transcript returns `409 invalid_state`. **Every artifact is an inference run, and every request is billed.** Generation happens on Telnyx inference infrastructure rather than as part of the per-minute meeting rates, so each artifact you ask for costs money -- including the automatic one from `summarize_on_end`. Tokens are billed at [Inference API](https://telnyx.com/pricing/inference-api) rates. | Type | What it produces | | --- | --- | | `summary` | The recap of the meeting | | `action_items` | Owned tasks | | `decisions` | Decisions made, with owners where the transcript names them | | `topics` | The themes discussed, each with a one-line note | | `open_questions` | Questions raised but not answered, and unresolved items that are not yet action items | | `custom` | Anything else, answered from a `prompt` you supply | ### Create an Artifact `POST /v2/meeting_sessions/{id}/artifacts` returns `202 Accepted`. The request is not idempotent -- each call generates a new artifact, and each one is billed. Asking for the same type twice produces two artifacts and two charges, so guard the call rather than relying on the service to collapse it. ```bash curl -X POST https://api.telnyx.com/v2/meeting_sessions/mtgsess_9b2f.../artifacts \ -H "Authorization: Bearer $TELNYX_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "type": "summary" }' ``` The full request schema is on [Create a meeting session artifact](/api-reference/meeting-session-artifacts/create-a-meeting-session-artifact). ### Ask Your Own Question `custom` answers an open-ended request from the transcript. It takes a `prompt` of 1-4000 characters, and the prompt is required: ```bash curl -X POST https://api.telnyx.com/v2/meeting_sessions/mtgsess_9b2f.../artifacts \ -H "Authorization: Bearer $TELNYX_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "type": "custom", "prompt": "Which customers were named, and what was promised to each?" }' ``` - `prompt` is **required** when `type` is `custom`, and **rejected with `400`** on any named type. - It is trimmed before storage, and echoed back on every artifact -- `prompt: null` for a named type -- including in the `artifact.completed` webhook payload. A consumer can always see what produced a given output. **Answers are grounded in the transcript alone.** Nothing else is consulted, and where the transcript cannot answer the request the model is instructed to say so explicitly rather than fill the gap. Treat "the transcript does not say" as a valid answer, not a failure. ### List Artifacts ```bash curl -H "Authorization: Bearer $TELNYX_API_KEY" \ "https://api.telnyx.com/v2/meeting_sessions/mtgsess_9b2f.../artifacts" ``` ### Get an Artifact ```bash curl -H "Authorization: Bearer $TELNYX_API_KEY" \ "https://api.telnyx.com/v2/meeting_sessions/mtgsess_9b2f.../artifacts/mtgart_..." ``` ```json { "data": { "id": "mtgart_4e7c...", "session_id": "mtgsess_9b2f...", "type": "summary", "prompt": null, "status": "completed", "content": { "text": "Decisions: ... Actions: ..." }, "model_provenance": { "model": "example-model", "provider": "telnyx" }, "failure_reason": null, "created_at": "2026-06-16T09:05:10Z", "updated_at": "2026-06-16T09:05:16Z" } } ``` Poll the artifact until `status` is `completed` or `failed`. A `failed` artifact includes a `failure_reason`. The `artifact.completed` and `artifact.failed` webhooks also fire. Artifact input is limited to 10,000 transcript segments and 1,000,000 UTF-8 bytes, including text, speaker labels, timestamps, and sequence numbers. An oversized transcript returns `409 invalid_state` before an artifact is created; the transcript is not silently truncated. Model context limits can still cause an accepted artifact to fail. Automatic summaries can also fail when the transcript exceeds these limits; check artifact status and `artifact.failed`. ## Recordings For customer Storage exports, use `GET /v2/meeting_sessions/{id}/recordings` and inspect `recording_export.status`. The `data` array is empty even when a customer Storage export exists. Wait for `exported` before downloading through Storage; `failed` is terminal. See [Recording](/docs/meeting/recording) for configuration, layouts, response examples, events, and automatic deletion. Sessions created with `recording_retention` also return a `retention` object with the deletion state. Download and manage customer exports through [Storage](/docs/meeting/recording#download-and-share). For Zoom and existing Google Meet or Teams recordings held by the Meeting service, this endpoint continues returning temporary download links in `data`. Use the same session ID and endpoint; no Storage setup or migration is needed for those recordings. Refresh the result when a link expires. These recordings follow the [recording retention terms](/docs/meeting/pricing#recording-retention). ### Delete Recording Media For recordings held by the Meeting service, including existing Google Meet and Teams recordings and Zoom recordings, this endpoint deletes the recording media. Customer Storage exports return `422 unsupported_capability`; delete the object through Storage instead. `DELETE /v2/meeting_sessions/{id}/recording_media` permanently deletes the recording media for the session (recordings, audio, video, and debug media). This is irreversible and returns `202 Accepted`: ```bash curl -X DELETE https://api.telnyx.com/v2/meeting_sessions/mtgsess_9b2f.../recording_media \ -H "Authorization: Bearer $TELNYX_API_KEY" ``` ```json { "data": { "meeting_session_id": "mtgsess_9b2f...", "provider": "telnyx", "scope": "provider_recording_media", "deletion_status": "requested" } } ``` `deletion_status` is `requested` or `already_in_progress`. Deletion removes the recording media only -- the session, its transcript, events, and artifacts remain intact. To remove the transcript, see [Delete the Transcript](#delete-the-transcript). ## Related - [Join a Meeting](/docs/meeting/join-meeting) -- create a meeting session and send the bot - [Live Transcript](/docs/meeting/live-transcript) -- follow the transcript stream in real time - [Webhooks](/docs/meeting/webhooks) -- receive session events on your own endpoint --- ## Integration ### Events > Source: https://developers.telnyx.com/docs/meeting/events.md Everything a session does -- joining, admission, speech starting and stopping, chat, artifacts -- is recorded as an ordered event with a monotonic `seq`. The same events reach you three ways, and they do not carry the same coverage: | | Delivery | Carries | | --- | --- | --- | | `GET /events` | You poll | Every event type below, including after the meeting ends | | [Webhooks](/docs/meeting/webhooks) | Telnyx pushes | Summary events -- see the table on that page | | [WebSocket stream](/docs/meeting/live-transcript) | Telnyx pushes, live | Every event type, live, plus transcript catch-up | The stored history is the authoritative record. A webhook that never arrived, a socket that dropped mid-meeting, or a process that restarted are all recovered the same way: read from the last `seq` you durably stored. ## Read the Event History `GET /v2/meeting_sessions/{id}/events` returns events in `seq` order. ```bash curl "https://api.telnyx.com/v2/meeting_sessions/mtgsess_9b2f.../events?limit=100" \ -H "Authorization: Bearer $TELNYX_API_KEY" ``` ```json { "data": [ { "seq": 12, "type": "session.status_changed", "payload": { "status": "active", "previous_status": "waiting_for_admission" }, "occurred_at": "2026-06-16T09:00:05Z" } ] } ``` Every event has the same four fields: `seq`, `type`, `payload`, and `occurred_at`. The shape of `payload` is determined by `type`. ### Paging and Resuming Pass `after` with the highest `seq` you have already processed, and `limit` for the page size. Because `seq` is monotonic within a session, the same parameter serves both jobs -- paging through a completed session and resuming after an interruption are the same request. ```bash curl "https://api.telnyx.com/v2/meeting_sessions/mtgsess_9b2f.../events?after=12&limit=100" \ -H "Authorization: Bearer $TELNYX_API_KEY" ``` Store `seq` only after the event is processed. Storing it on receipt means an event lost to a crash is never re-read, and there is no way to detect the gap afterwards. ## Event Types Not every type is delivered by every mechanism -- webhooks carry the summary events listed on the [Webhooks](/docs/meeting/webhooks) page, while `GET /events` and the stream carry all of them. | Event | Meaning | | --- | --- | | `session.created` | The session record exists; the bot has not necessarily joined. | | `session.status_changed` | Lifecycle moved -- carries `status` and `previous_status`. | | `participant.join` | Someone joined the meeting. | | `participant.leave` | Someone left. | | `participant.speech_on` | A participant started speaking. | | `participant.speech_off` | A participant stopped speaking. | | `transcript.segment` | One transcribed segment. Never delivered by webhook. | | `transcript.completed` | The transcript is finalized -- carries `segment_count` and `last_seq`. | | `transcript.deleted` | The transcript was [deleted](/docs/meeting/collect-results#delete-the-transcript) -- carries `deleted_at` and `segment_count`. Earlier `transcript.segment` events are removed from the history. | | `bot.speak_requested` | A `speak` action was accepted. | | `bot.speak_stopped` | Speech was stopped, by `stop_speaking` or by barge-in. | | `bot.speak_on_enter_delivered` | The configured `speak_on_enter` line was spoken. | | `bot.chat_on_enter_delivered` | The configured `chat_on_enter` message was posted to the meeting chat. | | `chat.message` | A participant posted in the meeting chat. | | `chat.sent` | The bot's own chat message was posted. | | `recording.exported` | Customer Storage recording upload was verified; includes bucket, region, key, bytes, and SHA-256. | | `recording.export_failed` | Customer Storage recording export failed terminally; includes destination and a reason. | | `recording.deleted` | A [`recording_retention`](/docs/meeting/recording#delete-recordings-automatically) policy deleted the recording; includes `delete_after` and `deleted_at`. | | `recording.deletion_failed` | Automatic recording deletion was abandoned after retries; includes `delete_after` and a `failure_reason`. | | `artifact.completed` | An artifact finished -- carries `content.text`. | | `artifact.failed` | An artifact could not be generated. | | `assistant.starting` | The assistant is starting; it is not yet ready for conversation. | | `assistant.connected` | The assistant is ready. | | `assistant.failed` | The assistant failed; an optional `reason` gives detail. | | `assistant.ended` | The assistant conversation ended. | | `avatar.connected` | The [digital avatar's](/docs/meeting/digital-avatars) video is playing. | | `avatar.degraded` | The avatar fell back to voice-only -- carries a `reason`. | | `avatar.disconnected` | The avatar disconnected or its conversation finished. | Treat this list as open. The event type field is deliberately extensible, and a client that rejects an unrecognized `type` will break the first time a new one is added -- ignore what you do not recognize rather than failing. The complete machine-readable enum, with the exact payload schema bound to each type, is in the [Meeting Session agent stream reference](/api-reference/websockets/meeting-session-agent-stream). ## Choosing a Mechanism - **Webhooks** for "tell me when it is finished" -- a summary arrives without you holding a connection, and the summary events cover the end states most integrations act on. - **The stream** for anything live: transcript as it is produced, speech starting and stopping, participants arriving. - **`GET /events`** for everything else, and as the backstop for both. It is the only mechanism that answers "what did I miss" after the fact, so a reliable integration reconciles against it even when it is driven by pushes. ## Related - [Webhooks](/docs/meeting/webhooks) -- push delivery, envelope, and signature verification - [Live Transcript](/docs/meeting/live-transcript) -- the WebSocket stream and transcript polling - [Collect Results](/docs/meeting/collect-results) -- the finalized transcript and artifacts --- ### Webhooks > Source: https://developers.telnyx.com/docs/meeting/webhooks.md Instead of polling, point the bot at your own endpoint. Set `webhook_url` when creating the session and Telnyx pushes session events to it. The destination must be a public HTTPS URL without embedded credentials and must not resolve to loopback, private, link-local, or otherwise reserved addresses; redirects are not followed. An API-created session returns a `webhook_secret` exactly once at creation -- store it; it is not retrievable again. For calendar-created Google Meet and Teams sessions, set `default_webhook_url` on the calendar connection and save the secret returned by that update. Existing sessions retain their original secret when the calendar default changes. ## Envelope and Events Every delivery is an HTTP `POST` with `Content-Type: application/json`, no authorization header, and one envelope shape -- deduplicate on `id`: ```json { "id": "whdel_9f2c...", "event": "session.status_changed", "version": "1", "occurred_at": "2026-06-16T09:00:05Z", "data": {} } ``` | Event | `data` fields | | --- | --- | | `session.status_changed` | `session_id`, `status`, `status_detail`, `recording` | | `transcript.completed` | `session_id`, `segment_count`, `last_seq`, `ended_at` | | `artifact.completed` | `session_id`, `artifact_id`, `type`, `prompt` (the question a `custom` artifact answered, `null` for a named type), `content: {text}`, `model_provenance` | | `artifact.failed` | `session_id`, `artifact_id`, `type` | | `recording.exported` | `session_id`, `type` (`video`), `bucket`, `region`, `key`, `bytes`, `sha256` | | `recording.export_failed` | `session_id`, `type` (`video`), `bucket`, `region`, `key`, `reason` | | `recording.deleted` | `session_id`, `reason` (`retention`), `delete_after`, `deleted_at` | | `recording.deletion_failed` | `session_id`, `reason` (`retention`), `delete_after`, `failure_reason` | | `transcript.deleted` | `session_id`, `deleted_at`, `segment_count` | Each event's full payload schema lives in the **Webhooks** group of the API Reference. New event types can be added, so acknowledge any `event` value you do not recognize with a 2xx and ignore it. Individual `transcript.segment` messages are never delivered over webhooks. Read segments via the [transcript endpoint](/docs/meeting/live-transcript) or the stream. Recording export events apply to customer-owned Storage destinations. They do not carry download URLs, and session termination does not imply export completion. Use the returned Storage coordinates after `recording.exported`; inspect the terminal failure `reason` after `recording.export_failed`. `recording.deleted` and `recording.deletion_failed` report the outcome of a [`recording_retention`](/docs/meeting/recording#delete-recordings-automatically) policy; a session without a policy never sends them. See [Recording](/docs/meeting/recording). ## Verify Signatures Each delivery is signed with an `X-Meeting-Bot-Signature` header: ``` X-Meeting-Bot-Signature: t=1784297100,v1=5e8f...a3c1 ``` Compute HMAC-SHA256 over the timestamp's ASCII bytes, a literal `.` byte, and the exact raw request-body bytes, then hex-encode the result and compare it against `v1`. Do not parse and reserialize the JSON before verifying. ```python import hashlib import hmac header = "t=1784297100,v1=5e8f...a3c1" raw_body = request.body # exact bytes as received t = header.split(",")[0].split("=")[1] v1 = header.split(",")[1].split("=")[1] expected = hmac.new( webhook_secret.encode(), t.encode() + b"." + raw_body, hashlib.sha256, ).hexdigest() verified = hmac.compare_digest(v1, expected) ``` Concatenate the timestamp and body as bytes. Formatting `raw_body` into a string (for example with an f-string) produces `b'...'` in the signed payload and the comparison always fails. Use a constant-time comparison and reject deliveries whose timestamp is outside your accepted clock skew window. ## Delivery and Retry - Up to 5 delivery attempts. Non-2xx responses, redirects, network errors, and timeouts all consume an attempt. - Retries back off: roughly a minute after the first failed attempt, doubling each retry (about `60s * 2^n`). - Each attempt has a 10-second timeout, so respond with a 2xx promptly. - Events are delivered with best effort and duplicates can occur -- including when your endpoint processed an event but its response was lost. Deduplicate on the event `id` and fall back to REST polling when guaranteed receipt matters. ## Related - [Session Events](/docs/meeting/events) -- the full event history, and what to read when a delivery is missed - [Join a Meeting](/docs/meeting/join-meeting) -- set `webhook_url` when creating a session - [Collect Results](/docs/meeting/collect-results) -- read the finalized transcript and artifacts --- ### API Errors > Source: https://developers.telnyx.com/docs/meeting/errors.md Meeting endpoints return failures as a non-2xx status with a single `error` object -- branch on `error.code` and use `error.message` for diagnostics: ```json { "error": { "code": "not_found", "message": "meeting session not found" } } ``` Authentication, permission, rate-limit, and other request failures that occur before reaching the Meeting service use the [general API error codes](/docs/development/api-fundamentals/api-errors) with the standard plural envelope -- a missing or invalid API key, for example, returns `401` with `{"errors": [{"code": "10009", ...}]}`, not the single-`error` shape below. Authenticated operations can also return `403`, `429` (with `Retry-After` when authentication is overloaded), or `503`. A small number of gateway-level failures (such as a `502` for a meeting URL the provider rejects outright) return a plain-text body with no JSON envelope at all, so parse error responses defensively. ## Meeting Error Codes | Code | HTTP | Title | Detail | Action | | --- | --- | --- | --- | --- | | `unauthorized` | `401` | Invalid or missing credentials | Service-level authentication failure. In practice the gateway rejects a missing or invalid key first with the general `10009` error, so this code is rarely seen. | Send your Telnyx API key as a bearer token in the `Authorization` header (exact `Bearer` capitalization). | | `not_found` | `404` | Meeting session not found | No session with the supplied id belongs to the authenticated account. | Verify the session id and that it was created by the same account. | | `invalid_request` | `400`, `413` | Request rejected | A field in the request is invalid or not allowed, for example a disabled `webhook_url`. A request that exceeds a documented size limit returns the same code with `413`. | Correct the field named in `message` and retry. | | `invalid_state` | `409` | Operation not valid for the session status | The operation requires a different lifecycle status, for example only `scheduled` sessions can be updated and actions require an `active` session. | Read the session status first and retry when the session reaches the required state. | | `unsupported_capability` | `422` | Capability not supported on this platform | The requested capability, such as avatar video, is not available on the detected meeting platform. | Check the platform's capabilities before enabling the feature, or omit it. | | `not_configured` | `503` | Feature not configured | A required integration is not configured for the account. | Complete the feature's setup for your account before retrying. | | `assistant_lookup_unavailable` | `503` | Assistant lookup unavailable | The AI Assistant could not be read to check its [digital avatar](/docs/meeting/digital-avatars) at session creation. No bot was created. | Retry with backoff. | | `capacity_exceeded` | `429` | Meeting capacity reached | The service cannot accept another meeting now. | Back off and retry the original create request with the same idempotency key. | | `auth_overloaded` | `429` | Authentication overloaded | Authentication is temporarily overloaded. | Honor `Retry-After`. | | `forbidden` | `403` | Credential not permitted | The authenticated credential cannot perform the operation. | Use a permitted credential. | | `calendar_managed` | `409` | Calendar controls the schedule | A calendar-created session cannot be edited through the session PATCH route. | Update the calendar event or calendar auto-join settings. | | `edit_in_progress` | `409` | Schedule edit pending | A different schedule edit is still being resolved. | Read the session and retry the original changes before submitting a new edit. | | `already_connected` | `409` | Calendar already connected | This user already has a connection for the calendar platform. | Use the existing connection. The OAuth callback displays an HTML result. | | `chat_not_sent` | `502` | Chat not sent | The chat message was not sent. | Retry if needed. | | `chat_delivery_unknown` | `502` | Chat delivery uncertain | The message may have been delivered. | Check meeting chat and `chat.sent` events before retrying; each request is a new send. | | `tts_error` | `502` | Text-to-speech failure | Speech synthesis failed. | Retry with different text or voice if needed. | | `provider_error` | `502` | Meeting operation failed | Joining, editing, leaving, or delivering media failed. | Read the session before retrying; a failed response does not always mean the operation had no effect. | | `oauth_exchange_failed` | `502` | Calendar authorization failed | Calendar authorization could not be completed. | Restart calendar connection. The callback displays an HTML result. | | `auth_unavailable` | `503` | Authentication unavailable | Authentication could not be completed. | Retry with backoff. | | `internal_error` | `500` | Internal server error | An unexpected service failure occurred. | Retry reads with backoff; reconcile action outcomes before retrying writes. | | `transcript_deleted` | `409` | Transcript deleted | An artifact was requested for a session whose transcript has been [deleted](/docs/meeting/collect-results#delete-the-transcript). | Do not retry. Artifacts generated before the deletion remain readable. | ## Retry Behavior For session creation, send an `idempotency_key` and reuse the original request after a timeout, `429`, or temporary `503`. A successful replay returns `200` instead of `201`. If the key conflicts with another configuration, or the join has been cancelled or its retry window has expired, resolve the `409` before starting a new join. For a scheduled-session edit, read the session after a timeout or `503`, then retry the same changes. Leaving can remain in `leaving` while completion is pending; wait for a terminal status. Chat, speech, and artifact creation are not idempotent. Automatically repeating them can duplicate messages, speech, or billed artifacts. See [Chat](/docs/meeting/control/chat#responses-and-retries) and [Collect Results](/docs/meeting/collect-results). ## Related - [Join a Meeting](/docs/meeting/join-meeting) -- create a meeting session and send the bot - [Controlling the Bot](/docs/meeting/control) -- actions that require an `active` session --- ### MCP Server > Source: https://developers.telnyx.com/docs/meeting/mcp.md The Meeting MCP server gives AI agents a dedicated interface for joining meetings, following transcripts and events, interacting in the room, collecting results, and managing calendar auto-join. ## Endpoint and Authentication Connect to: ```text https://api.telnyx.com/v2/meeting_bot/mcp ``` This is the product-specific Meeting MCP server. It is separate from the generic Telnyx API MCP endpoint at `https://api.telnyx.com/v2/mcp`, which exposes broader API actions. The Meeting endpoint uses stateless Streamable HTTP. Send JSON-RPC 2.0 requests with these headers: ```text Authorization: Bearer Content-Type: application/json Accept: application/json, text/event-stream ``` Every request is independent. The server does not issue an `Mcp-Session-Id`, and clients must not depend on state from an earlier `initialize` request. Responses are currently JSON, while clients must still advertise support for both JSON and server-sent events in `Accept`. ## Configure an MCP Client MCP client configuration formats vary. For clients that accept an `mcpServers` map and environment-variable interpolation, use: ```json { "mcpServers": { "telnyx-meeting": { "url": "https://api.telnyx.com/v2/meeting_bot/mcp", "headers": { "Authorization": "Bearer ${TELNYX_API_KEY}" } } } } ``` Set `TELNYX_API_KEY` in the environment that launches the client. If your client does not interpolate environment variables in JSON, use its secret or header configuration instead of storing an API key in a shared configuration file. ## Discover and Call Tools with curl Export a [Telnyx API key](https://portal.telnyx.com/#/app/api-keys) before running the examples: ```bash export TELNYX_API_KEY='' ``` Initialize the MCP connection: ```bash curl --fail-with-body --silent --show-error \ --request POST \ --url 'https://api.telnyx.com/v2/meeting_bot/mcp' \ --header "Authorization: Bearer $TELNYX_API_KEY" \ --header 'Content-Type: application/json' \ --header 'Accept: application/json, text/event-stream' \ --data '{ "jsonrpc": "2.0", "id": 1, "method": "initialize", "params": { "protocolVersion": "2025-06-18", "capabilities": {}, "clientInfo": {"name": "curl", "version": "1.0.0"} } }' ``` Discover the current tool names, descriptions, and input schemas: ```bash curl --fail-with-body --silent --show-error \ --request POST \ --url 'https://api.telnyx.com/v2/meeting_bot/mcp' \ --header "Authorization: Bearer $TELNYX_API_KEY" \ --header 'Content-Type: application/json' \ --header 'Accept: application/json, text/event-stream' \ --data '{"jsonrpc":"2.0","id":2,"method":"tools/list","params":{}}' ``` Call the read-only `list_sessions` tool: ```bash curl --fail-with-body --silent --show-error \ --request POST \ --url 'https://api.telnyx.com/v2/meeting_bot/mcp' \ --header "Authorization: Bearer $TELNYX_API_KEY" \ --header 'Content-Type: application/json' \ --header 'Accept: application/json, text/event-stream' \ --data '{ "jsonrpc": "2.0", "id": 3, "method": "tools/call", "params": {"name": "list_sessions", "arguments": {}} }' ``` Tool results contain one text content block whose `text` value is JSON. Check `result.isError` before parsing `result.content[0].text`: tool-level failures normally return HTTP `200` with `isError: true`, while authentication and transport failures use HTTP error statuses. JSON-RPC validation failures can instead use the top-level `error` field. ## Available Tools The tools below cover the core Meeting workflow. Use `tools/list` as the source of truth for the advertised tools and their current input schemas. ### Meetings and History - `join_meeting` -- create or schedule a meeting session - `get_session` and `list_sessions` -- inspect one session or list sessions - `get_transcript` and `get_events` -- read transcript segments and stored events - `leave_meeting` -- leave or cancel without deleting session history ### In-meeting Actions and Artifacts - `speak`, `stop_speaking`, and `send_chat` -- interact in an active meeting - `create_artifact`, `get_artifact`, and `get_artifacts` -- generate and retrieve summaries, action items, decisions, topics, open questions, or a `custom` answer to a prompt of your own ### Calendar Auto-join - `connect_calendar`, `list_calendar_connections`, and `disconnect_calendar` -- manage calendar connections - `set_calendar_policy` -- configure connection-level auto-join behavior - `list_calendar_meetings` -- list meetings from a connected calendar - `set_meeting_auto_join` -- override auto-join for one calendar meeting ## REST-only Capabilities MCP covers the core Meeting workflow but does not expose every REST or streaming operation: - Updating an existing scheduled session is REST-only; MCP has no equivalent of `PATCH /meeting_sessions/{id}`. - Retrieving one calendar connection directly is REST-only; MCP lists connections but has no single-connection retrieval tool. - The customer WebSocket stream is not exposed through MCP. Use the [Live Transcript](/docs/meeting/live-transcript) guide for long polling and WebSocket access. - `join_meeting` accepts `assistant` with `id`, `audio_gate`, `dynamic_variables`, and `leave_on_end`. Use the REST API to enable an assistant avatar. - Joins also accept `recording`, `recording_view`, `recording_screenshare_participants`, and `recording_retention`; Google Meet and Teams joins also accept `leave_policy` and `recording_export`. All joins accept an optional `idempotency_key` for safe retries. Read recording export status through `get_session.recording_export` and [download the exported object through Storage](/docs/meeting/recording#download-and-share). - `camera_image` is not supported on Google Meet or Teams. For these operations, use the [Meeting API reference](/api-reference/meeting-sessions/create-a-meeting-session) alongside MCP. ## Related - [Meeting Quick Start](/docs/meeting/quick-start) -- complete the same core workflow with REST - [Join a Meeting](/docs/meeting/join-meeting) -- scheduling, calendar auto-join, and lifecycle details - [Controlling the Bot](/docs/meeting/control) -- speaking and chat over REST - [Meeting Presence](/docs/meeting/presence) -- roster name, still images, and digital avatars - [Collect Results](/docs/meeting/collect-results) -- transcripts and artifacts --- ### Release Changes > Source: https://developers.telnyx.com/docs/meeting/release-changes.md Use this reference when updating an existing Meeting integration. The REST base URL remains `https://api.telnyx.com/v2`; authentication and existing session URLs are unchanged. ## Requests and Features | Area | Contract | | --- | --- | | Recording | Google Meet and Teams require `recording_export.bucket` to record. Without a destination, recording is disabled. `recording: true` requires the destination; `false` rejects one. Zoom records by default without a destination, accepts `recording: false`, and ignores `recording_export`. See [Recording](/docs/meeting/recording). | | Recording layout | Choose `speaker_view` (default), `gallery_view`, or `speaker_view_no_sidebar` at creation. Zoom also accepts `gallery_view_v2` and `audio_only`, and ignores `speaker_view_no_sidebar`. `recording_screenshare_participants` (`overlap`, `beside`, `hide`) sets where participant video goes while a screen is shared; `beside` and `hide` keep it off the shared screen. Layout does not enable recording. See [Choose a Recording Layout](/docs/meeting/recording#choose-a-recording-layout). | | Automatic recording deletion | `recording_retention` with exactly one of `hours`, `days`, or `delete_at` deletes the recording after the session ends or at a set time. It requires a recording and is fixed at creation. Zoom recordings are removed after 167 hours at the latest. See [Delete Recordings Automatically](/docs/meeting/recording#delete-recordings-automatically). | | Transcript deletion | `DELETE /meeting_sessions/{id}/transcript` permanently deletes a finalized transcript. See [Delete the Transcript](/docs/meeting/collect-results#delete-the-transcript). | | Automatic departure | `leave_policy` configures silence, time alone, host/lobby waits, maximum duration, and bot-name filtering on Google Meet and Teams. Zoom ignores a valid policy. See [When the Bot Leaves](/docs/meeting/join-meeting/leave-policy). | | Scheduling | Use future `join_at` timestamps; Google Meet and Teams accept up to three years ahead. Update only `join_at` and `bot_name` while scheduled. REST/MCP assistant joins remain immediate-only. | | Safe create retries | `idempotency_key` remains optional. Reuse the same key and request after uncertainty. Replays return `200`; new sessions return `201`. Conflicting configuration can return `409 invalid_state`. | | Chat and introductions | Google Meet, Zoom, and Teams support `send_chat` and `chat_on_enter`. Google Meet and Teams apply an additional 4,096-byte text limit and a 1,000-request session limit. See [Chat](/docs/meeting/control/chat). | | Speech | `speak`, `stop_speaking`, `speak_on_enter`, per-request voices, interruption, and manual-speech `barge_in` are available subject to session state and assistant restrictions. Actions are not idempotent. | | Appearance | Supply a JPEG camera image by base64 or public HTTPS URL, or set REST `assistant.avatar: true` to use the assistant's configured avatar. Avatars take precedence over images and render only assistant speech. | | Calendar auto-join | Eligible Google Meet and Teams events can be scheduled alongside Zoom events. Connect Google Calendar or Microsoft Outlook. New REST defaults cover scheduled assistants, Storage recordings, and session webhooks. See [Calendar Auto-join](/docs/meeting/join-meeting/calendar-auto-join) for request and response fields. | | Results | Transcripts, summaries, action items, decisions, topics, open questions, and custom-prompt artifacts remain available. Artifacts use recorded speaker labels and timestamps. Requests over 10,000 segments or 1,000,000 UTF-8 bytes of transcript input return `409 invalid_state` instead of silently truncating. Artifact generation is separate from recording export. | ## Response Changes | Surface | Fields and behavior | | --- | --- | | Session create/retrieve | `config.recording` is recording intent; top-level `recording` reports current activity. `config.recording_view` and `config.recording_screenshare_participants` appear for non-default layouts. `config.recording_retention` contains the deletion policy. `transcript_deleted_at` appears once the transcript has been deleted. `config.leave_policy` contains supplied overrides. `recording_export` contains export status or `null`. | | Session lists | `recording_export` and `assistant.dynamic_variables` are omitted. Optional `remote_state_observed_at` reports when listed state was last observed. Retrieve the individual session for current details. | | Session status | `status_detail` and `failure_reason` are machine-readable reasons or `null`. Values include `silence_timeout`, `everyone_left`, `max_duration_reached`, and `admission_timeout`; accept future values. `ended` alone does not prove admission: check `joined_at`. | | Recordings | `GET /meeting_sessions/{id}/recordings` returns `data: []` plus `recording_export` for Storage exports. Export status is `pending`, `exported`, or `failed`. Sessions created with `recording_retention` add a `retention` object whose `status` is `scheduled`, `deleted`, `skipped`, or `failed`; `recording_export.status` stays `exported` after deletion. Zoom and existing Google Meet or Teams recordings held by the Meeting service continue returning temporary links in `data` through the same endpoint; no Storage migration is required for those recordings. | | Leaving | `DELETE /meeting_sessions/{id}` returns a session snapshot and can remain `leaving` until departure completes. It does not delete transcripts, artifacts, or Storage objects. | | Actions | Successful speech, stop, and chat requests return `202` with `data.accepted: true`. This is not a speech-completion notification. | | Calendar settings | Connection responses include `default_assistant`, `default_recording`, `default_recording_export`, and `default_webhook_url`. A non-null webhook URL update returns `webhook_secret` once. | | Transcript paging | An empty page preserves a positive `after` cursor in `meta.next_after`; without one, the cursor is `null`. Long-poll timeouts return `200` and empty `data`. | ## Events and Errors Storage exports emit `recording.exported` or `recording.export_failed` through event history, WebSocket, and configured webhooks. Their payloads contain the Storage destination; success includes bytes and SHA-256, and failure includes a reason. Session termination and transcript finalization can occur before the export completes. A status webhook can also include `previous_status`. `recording.deleted` and `recording.deletion_failed` report the outcome of a `recording_retention` policy, and `transcript.deleted` reports a transcript deletion. All three reach the event history, WebSocket, and configured webhooks. Handle the additional action outcomes explicitly: | HTTP | Code | Handling | | --- | --- | --- | | `429` | `capacity_exceeded` | Back off; retry create with the original key and request. | | `409` | `calendar_managed` | Change the calendar event instead of PATCHing the session. | | `409` | `edit_in_progress` | Resolve the previous schedule edit before submitting a different one. | | `502` | `chat_not_sent` | Retry the chat if still needed. | | `502` | `chat_delivery_unknown` | Check chat before retrying; repeating the action may duplicate it. | | `409` | `transcript_deleted` | The transcript was deleted; new artifacts cannot be generated. Do not retry. | | `409` | `invalid_state` | On transcript deletion: the session has not ended or the transcript is not finalized. Retry after `transcript.completed`. | | `422` | `unsupported_capability` | Check platform support, including recording options and recording-media deletion. | | `503` | `not_configured` | A feature or session operation may be unavailable. Reconcile the result before retrying a write. | The [API Errors reference](/docs/meeting/errors) covers all service error codes and the distinct authentication error envelope. Clients must also tolerate an empty or plain-text gateway error response. ## Integration Checklist - Set an explicit Storage destination wherever Google Meet or Teams recording is required. - Save creation-time webhook secrets and use separate completion signals for transcripts, artifacts, and recordings. - Use an idempotency key for each intended join; avoid automatic retries of chat, speech, or billed artifact creation. - Handle both recording responses: download links in `data`, or Storage coordinates in `recording_export`. Do not choose the download method from the platform alone. - Accept optional response fields and unknown event types. Retrieve a session rather than relying on a list item for current state. - Delete exported objects through Storage, or set `recording_retention` at creation. `DELETE /meeting_sessions/{id}/recording_media` does not delete customer Storage objects. - After a `recording_retention` policy runs, read `retention.status` rather than `recording_export.status` to learn whether the recording still exists. --- ## API Reference (Meeting) ### Meeting Sessions - [Create a meeting session](https://developers.telnyx.com/api-reference/meeting-sessions/create-a-meeting-session.md): Creates a meeting session and returns 201, or 200 for a replay. Use a unique `idempotency_key` per intended join and reuse the same key and request on retries.… - [List meeting sessions](https://developers.telnyx.com/api-reference/meeting-sessions/list-meeting-sessions.md): Returns a list of meeting sessions, optionally filtered by status. List items omit assistant.dynamic_variables and recording_export. Some items include remote_… - [Retrieve a meeting session](https://developers.telnyx.com/api-reference/meeting-sessions/retrieve-a-meeting-session.md): Retrieves a single meeting session by ID. A session that does not exist or that belongs to a different account both return 404. - [Update a meeting session](https://developers.telnyx.com/api-reference/meeting-sessions/update-a-meeting-session.md): Updates mutable properties of a meeting session. Only sessions in the scheduled state can be updated; any other state returns 409 with the invalid_state error… - [Delete a meeting session](https://developers.telnyx.com/api-reference/meeting-sessions/delete-a-meeting-session.md): Stops a meeting session without deleting its persisted record. Scheduled bots are cancelled, while bots that are joining or active are asked to leave. The pers… ### Meeting Session Actions - [Speak in a meeting session](https://developers.telnyx.com/api-reference/meeting-session-actions/speak-in-a-meeting-session.md): Sends audio / text-to-speech into a meeting session. With a Telnyx AI Assistant attached, wait for the assistant to connect before requesting speech. If audio… - [Stop speaking in a meeting session](https://developers.telnyx.com/api-reference/meeting-session-actions/stop-speaking-in-a-meeting-session.md): Stops any active text-to-speech playback in a meeting session. Sessions with a digital avatar (`assistant.avatar: true`) return 409 `invalid_state` (message pr… - [Send chat in a meeting session](https://developers.telnyx.com/api-reference/meeting-session-actions/send-chat-in-a-meeting-session.md): Send chat as the bot in an active meeting. Returns 202 with data.accepted=true. Google Meet and Teams confirm sending before success; 502 chat_not_sent means n… ### Meeting Session Data - [List meeting session events](https://developers.telnyx.com/api-reference/meeting-session-data/list-meeting-session-events.md): Returns stored events ordered by ascending `seq`. To continue, pass the last returned item's `seq` as `after`. An empty page means no later stored events exist… - [List meeting session transcript](https://developers.telnyx.com/api-reference/meeting-session-data/list-meeting-session-transcript.md): Returns transcript segments ordered by ascending seq. Default limit is 100, maximum 1000. Continue with after=meta.next_after. On an empty page, meta.next_afte… - [Delete meeting session transcript](https://developers.telnyx.com/api-reference/meeting-session-data/delete-meeting-session-transcript.md): Irreversibly deletes the transcript of a meeting session: every transcript segment, and the transcript.segment entries in the session's event history. The sess… - [List meeting session recordings](https://developers.telnyx.com/api-reference/meeting-session-data/list-meeting-session-recordings.md): Retrieve recording export status. Customer Storage exports include recording_export with the bucket, region, key and pending/exported/failed status, or null wh… - [Delete meeting session recording media](https://developers.telnyx.com/api-reference/meeting-session-data/delete-meeting-session-recording-media.md): Irreversibly requests deletion of the aggregate recording media for the session. The operation retains the Telnyx-local Meeting session, transcript segments, e… ### Meeting Session Artifacts - [Create a meeting session artifact](https://developers.telnyx.com/api-reference/meeting-session-artifacts/create-a-meeting-session-artifact.md): Requests asynchronous generation of one artifact: `summary`, `action_items`, `decisions`, `topics`, `open_questions`, or `custom`. Each request produces one ar… - [List meeting session artifacts](https://developers.telnyx.com/api-reference/meeting-session-artifacts/list-meeting-session-artifacts.md): Returns a list of artifacts for a meeting session. - [Retrieve a meeting session artifact](https://developers.telnyx.com/api-reference/meeting-session-artifacts/retrieve-a-meeting-session-artifact.md): Retrieves a single meeting session artifact by ID. ### Meeting Session Webhooks - [session.status_changed](https://developers.telnyx.com/api-reference/meeting-session-webhooks/session-status_changed.md): Sent when the session moves to a new lifecycle status. Deliveries are best effort and not guaranteed: up to 5 attempts with backoff that starts around 60 secon… - [transcript.completed](https://developers.telnyx.com/api-reference/meeting-session-webhooks/transcript-completed.md): Sent when the meeting transcript is finalized and ready to read. Individual `transcript.segment` messages are never delivered over webhooks; read segments via… - [artifact.completed](https://developers.telnyx.com/api-reference/meeting-session-webhooks/artifact-completed.md): Sent when an artifact finishes generating -- `summary`, `action_items`, `decisions`, `topics`, `open_questions` or `custom`. Deliveries are best effort and not… - [artifact.failed](https://developers.telnyx.com/api-reference/meeting-session-webhooks/artifact-failed.md): Sent when an artifact generation fails. Deliveries are best effort and not guaranteed: up to 5 attempts with backoff that starts around 60 seconds and roughly… - [recording.exported](https://developers.telnyx.com/api-reference/meeting-session-webhooks/recording-exported.md): Sent after a customer Storage recording export is verified. Uses the same signed envelope and retry contract as other meeting webhooks. Applies to recordings e… - [recording.export_failed](https://developers.telnyx.com/api-reference/meeting-session-webhooks/recording-export_failed.md): Sent when a customer Storage recording export fails terminally. Uses the same signed envelope and retry contract as other meeting webhooks. Applies to recordin… - [recording.deleted](https://developers.telnyx.com/api-reference/meeting-session-webhooks/recording-deleted.md): Sent when a session's recording_retention policy deleted the recording, or found it already gone. Uses the same signed envelope and retry contract as other mee… - [recording.deletion_failed](https://developers.telnyx.com/api-reference/meeting-session-webhooks/recording-deletion_failed.md): Sent when automatic deletion under recording_retention was abandoned after retries. The recording may still exist; delete it through Storage if it must be remo… - [transcript.deleted](https://developers.telnyx.com/api-reference/meeting-session-webhooks/transcript-deleted.md): Sent when a session's transcript was deleted with DELETE /meeting_sessions/{id}/transcript. Uses the same signed envelope and retry contract as other meeting w… ### Meeting Calendar Connections - [Connect a meeting calendar](https://developers.telnyx.com/api-reference/meeting-calendar-connections/connect-a-meeting-calendar.md): Start Google Calendar or Microsoft Outlook OAuth. Open oauth_url in a browser. No connection exists until authorization succeeds. The resulting connection is o… - [List meeting calendar connections](https://developers.telnyx.com/api-reference/meeting-calendar-connections/list-meeting-calendar-connections.md): List only the authenticated connecting user’s calendar connections. Session resources created by those connections are shared within the organization. - [Retrieve a meeting calendar connection](https://developers.telnyx.com/api-reference/meeting-calendar-connections/retrieve-a-meeting-calendar-connection.md): Retrieve a calendar connection owned by the authenticated connecting user. Missing and foreign connections both return 404. Signing secrets are omitted. - [Update a meeting calendar connection](https://developers.telnyx.com/api-reference/meeting-calendar-connections/update-a-meeting-calendar-connection.md): Update policy or defaults for future sessions. Supply at least one field. Existing sessions retain their configuration. Null clears nullable overrides. Assista… - [Disconnect a meeting calendar](https://developers.telnyx.com/api-reference/meeting-calendar-connections/disconnect-a-meeting-calendar.md): Disconnect the calendar, cancel future joins, and clear retained calendar identity fields. Previously created session records, transcripts, artifacts, and Stor… - [List calendar meetings](https://developers.telnyx.com/api-reference/meeting-calendar-connections/list-calendar-meetings.md): List tracked meetings in a window. Defaults from now through seven days from now. from must not exceed to and the window must not exceed 31 days. bot_will_join… - [Update calendar meeting auto-join](https://developers.telnyx.com/api-reference/meeting-calendar-connections/update-calendar-meeting-auto-join.md): Set an individual meeting override: true opts in, false opts out, null follows the connection policy. A supported meeting link is required. Changes re-evaluate… - [Complete meeting calendar authorization](https://developers.telnyx.com/api-reference/meeting-calendar-connections/complete-meeting-calendar-authorization.md): Browser redirect after calendar consent. Use the returned oauth_url rather than constructing this request. Verified state identifies the connecting user. Retur…