transport field so your integration can keep the same call model.
Start a call
callId, peerJid, direction, state, transport, timestamps, and mute state.
Stream live audio
Upgrade the media URL with bearer auth:Float32LE PCM at 16000 Hz. Server binary frames are inbound peer audio in the same format.
Server JSON text frames include:
| Type | Purpose |
|---|---|
ready | Confirms encoding, sample rate, channels, and direction. |
buffer | Reports live outbound buffer depth and backpressure watermarks. |
call_state | Mirrors call state changes. |
error | Reports invalid frames or feed failures. |
ended | Reports that the call ended. |
Play prerecorded audio
Upload an audio asset once, then play it into active calls:| Field | Required | Notes |
|---|---|---|
audio | Yes | Any supported audio/* file up to 32 MB. |
Recordings
WADial stores inbound, outbound, and mixed WAV recording artifacts for calls with captured media. Retention defaults to 30 days and can be configured by the account environment. Recording-ready events include metadata such asrecordingId, kind, durationMs, sizeBytes, and expiresAt; they do not include raw audio.