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.
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 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.With a digital avatar (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.
Related
- Controlling the Bot — the WebSocket alternative and the action error envelope
- Chat — post to the meeting chat instead of speaking
- Announce the Bot on Arrival —
speak_on_enter - Digital avatars — an assistant’s avatar, which speaks only the assistant’s words