active, the bot does three things, and you choose how each is driven:
- Speak — say text out loud, and stop mid-utterance.
- Chat — post to the meeting chat.
- Automate — hand the speaking to a Telnyx AI Assistant, which listens and answers on its own.
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 for the assistant’s configuration and 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 instead of over REST:Errors
Action requests fail with a non-2xx status and an error envelope, for example when the session is notactive:
Not every failure carries a body. A
502 from speak — for instance when audio delivery fails — can come back with no JSON, so branch on the status code before parsing the body.Related
- Speak — make the bot say something, and stop it
- Chat — post to the meeting chat and read replies
- Telnyx AI Assistants — let an assistant hold the conversation
- Live Transcript — follow the transcript stream in real time