Key Capabilities
- Real-time Audio - Fork inbound, outbound, or both tracks of a live call to your WebSocket in near real time.
- Bidirectional Mode - Enable
bidirectional=trueto send audio from your server back into the call. - Direction-specific formats - Receive inbound L16 at 8 or 16 kHz, or μ-law at 8 kHz. In bidirectional mode, send outbound L16 playback at 8, 16, or 24 kHz, or μ-law at 8 kHz.
- Status Callbacks - Receive stream lifecycle events (
connected,stopped,timeout,failed) on your callback URL.
Important: Your WebSocket server must accept connections over
wss://. Audio packets are delivered as JSON frames containing base64-encoded payloads. See the Stream XML element to start streams from XML instead of the API.API Endpoint
Base URLAuthentication required:
X-Auth-ID- Your account ID (e.g.,{auth_id})X-Auth-Token- Your account Auth TokenContent-Type: application/json