Wire format
JSON text frames with base64 L16 or mu-law audio
Integrations / Plivo
Bridge a customer-owned Plivo call over a bidirectional audio stream.
Wire format
JSON text frames with base64 L16 or mu-law audio
Sample rate
8 kHz; use L16 where the account supports it
Flush queued playback
{"event":"clearAudio","streamId":"..."}
When the caller interrupts, stop generation and flush the carrier's queued audio. Doing only the first half still talks over the caller.
You own the Plivo account, application, number, routing, compliance, and Plivo charges.
Return Plivo XML that opens a bidirectional stream to your bridge.
<Response>
<Stream bidirectional="true" keepCallAlive="true">
wss://your-host/plivo
</Stream>
</Response>Official references · 13 September 2026
Protocol references are official starting points, not proof that an account is enabled. Confirm the current carrier contract and account capabilities before implementation.
Bidirectional stream attributes, audio formats, and stream events.
Machine handoff available
Create /v2/voice/sessions from a trusted server with X-Api-Key. The response returns a short-lived, one-use stream URL; never put the project key in browser code or adapt an earlier account-wide request.