Calls
Play audio into call (web)
Plays an audio file into an active call. Body: — a public http(s) URL of an .mp3/.wav/.opus file (media travels by URL, like every media send on web numbers). When the call is not active yet the audio is queued and starts as soon as it connects. Web (unofficial) numbers ONLY — Meta numbers return 400 FEATURE_NOT_SUPPORTED (their media flows via WebRTC).
Requires a number-scoped key.
POST
Play audio into call (web)
Authorizations
Your ps_ API key
Path Parameters
Pilot Status id (call_...) or provider call id (CallID).
Body
application/json
Public URL of the audio to play (.mp3, .wav or .opus).
Example:
"https://cdn.example.com/ivr-greeting.mp3"
Response
Play audio