Wire format
Gateway-defined; normalize to the voice-session media format at your boundary
Integrations / SIP and custom media gateways
Use a gateway you operate to turn a SIP or custom media leg into the platform stream contract.
Wire format
Gateway-defined; normalize to the voice-session media format at your boundary
Sample rate
8 or 16 kHz input; request 8, 16, or 24 kHz output
Flush queued playback
Gateway-defined playback flush
When the caller interrupts, stop generation and flush the carrier's queued audio. Doing only the first half still talks over the caller.
You operate the gateway, trunk, codec conversion, caller identity, routing, and carrier relationship.
Terminate SIP in a gateway you control. Your trusted server creates /v2/voice/sessions with a project key, and your gateway connects normalized media to the returned one-use stream URL.
/v2/voice/sessions with a project key, then connect only to the returned one-use stream URL.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.
Base SIP reference; media and gateway behavior still depend on your implementation and carrier.
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.