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

Authorizations

Authorization
string
header
required

Bearer token using appid (Authorization: Bearer )

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"

Response

Audio playback successfully started

success
boolean
Example:

true