POST
/
v1
/
calls
/
{id}
/
play
Play audio
curl --request POST \
  --url https://api.wavix.com/v1/calls/{id}/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

Wavix API key. Pass as Authorization: Bearer <api_key>. Keys support per-resource scopes (none / read / write). See Restricted keys and scopes.

Path Parameters

id
string<uuid>
required

The uuid of the call.

Body

application/json

Audio source and playback options.

audio_file
string
required

URL of the audio file to play to the call.

Example:

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

Response

Returns a success confirmation. Audio playback starts.

success
boolean
required

Indicates whether the request was successful.

Example:

true