AsyncAPI channel · Exotel
· Exotel AgentStream Voice Streaming API
/
The single bidirectional media stream socket for one call. Exotel sends connected/start/media/dtmf/mark/stop; your server (Voicebot applet only) may send media/mark/clear.
Messages your server sends back to Exotel (Voicebot applet only).
subscribe
receiveFromExotel
Messages Exotel sends to your server.
Messages
media
A frame of audio to play to the caller (base64 PCM).
Content-Type:
mark
Label a point in your outbound audio stream.
Content-Type:
clear
Barge-in - discard queued outbound audio.
Content-Type:
connected
First frame after the socket opens.
Content-Type:
start
Sent once at stream start with call and media metadata.
Content-Type:
dtmf
A DTMF keypress detected during the call.
Content-Type:
stop
Sent when the stream ends.
Content-Type:
About AsyncAPI
The AsyncAPI specification describes event-driven APIs the way OpenAPI describes request/response APIs. A channel is the named pipe — a webhook URL, a Kafka topic, a WebSocket route, an MQTT subject — that producers and consumers publish or subscribe to. Each channel carries one or more messages with structured payloads, and an operation declares whether a given party sends or receives on that channel.
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we
store it to create your key and to recognise you if you sign in with another
provider. See our Privacy Policy and
Terms.