Skip to main content
POST
/
call
/
{uuid}
/
play
Play audio during a call
curl --request POST \
  --url https://api.wavix.com/v1/call/{uuid}/play \
  --header 'Content-Type: application/json' \
  --data '{
  "audio_file": "https://examples.com/audio.wav",
  "delay_before_playing": 1000
}'
{
  "success": true
}

Authorizations

appid
string
query
required

An API key to authorize your request

Path Parameters

uuid
string<uuid>
required

Call ID.

Body

application/json

Audio playback parameters

audio_file
string
required

URL of the audio file to play

Example:

"https://examples.com/audio.wav"

delay_before_playing
integer

Delay before playing the audio, in milliseconds

Required range: 0 <= x <= 10000
Example:

1000

Response

Audio playback successfully started

success
boolean
Example:

true

I