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.
speak call. If barge_in was enabled on the session, participants can interrupt the bot with their own speech.
With a Telnyx AI Assistant attached, the bot is a webpage-output bot:
speak is accepted, but the audio routes through the assistant’s output page instead of the bot mic and plays only once the assistant is connected. If that page is unreachable the call fails with a 502 (see Errors). The assistant is designed to own the conversation, so prefer letting it speak; to have the bot say a fixed line the moment it joins, see Announce the Bot on Arrival.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 — lip-sync everything the bot says