cURL
curl --request POST \ --url 'https://api.wavix.com/v1/call/{uuid}/play?appid=' \ --header 'Content-Type: application/json' \ --data ' { "audio_file": "https://examples.com/audio.wav", "delay_before_playing": 1000 } '
{ "success": true }
Use this method to play an audio in an active call.
An API key to authorize your request
Call ID.
Audio playback parameters
URL of the audio file to play
"https://examples.com/audio.wav"
Delay before playing the audio, in milliseconds
0 <= x <= 10000
1000
Audio playback successfully started
true
Was this page helpful?