Skip to main content
WebSockets - raw audio streaming for any bot you run yourself. Reply to a call with <Stream>, or start a stream on a live call over REST, and Unpod opens a WebSocket to your server. It sends the caller’s audio in 20 ms frames, plays back the audio your bot returns, and signs every connection with your webhook secret. Your bot can be written in any language; with Pipecat, UnpodFrameSerializer does the protocol for you.
Preview. Audio streaming is switched on per org. Ask the Unpod team to enable it.

Audio Streaming

The <Stream> verb, the REST stream API, the WebSocket protocol and its signature.

Pipecat bots on Unpod calls

A full voice bot on a call, step by step.

Sample code

Runnable code in unpod-ai/sample-apps:

conference_call/agent_handoff.py

An AI agent answers over <Stream>, then hands the caller to a person with <Dial> when they ask or press 0.

conference_call/bot.py

Answer URL plus a WebSocket bot that verifies the signature, with echo, barge-in and DTMF modes.