Skip to main content
POST
Play audio into call (web)

Authorizations

x-api-key
string
header
required

Your ps_ API key

Path Parameters

callId
string
required

Pilot Status id (call_...) or provider call id (CallID).

Body

application/json
mediaUrl
string
required

Public URL of the audio to play (.mp3, .wav or .opus).

Example:

"https://cdn.example.com/ivr-greeting.mp3"

Response

Play audio