Skip to main content
POST
Play audio to a call
Play audio files during an active call. You can play a single file or multiple files in sequence, control which participants hear the audio, and configure looping and mixing behavior. Vobiz supports .mp3 and .wav audio files.
Audio files must be accessible via public HTTP or HTTPS URLs. Ensure your audio hosting service has proper CORS headers configured if needed.

Path parameters

Request parameters

  • Pass comma-separated URLs to play files in sequence.
  • Set loop=true for hold music.
  • Set mix=false for important announcements so participants hear them clearly.
  • Use legs=both to play audio to all participants.

Error responses

Example request

Response

202 Accepted

Authorizations

X-Auth-ID
string
header
required

Your Vobiz account Auth ID

X-Auth-Token
string
header
required

Your Vobiz account Auth Token

Path Parameters

auth_id
string
required

Your account Auth ID

Example:

"MA_XXXXXX"

call_uuid
string
required

Body

application/json
urls
string
required
Example:

"https://example.com/audio.mp3"

legs
enum<string>
default:aleg
Available options:
aleg,
bleg,
both
loop
boolean
default:false

Response

200

Audio playback started