Skip to main content
POST
/
v1
/
calls
/
{callId}
/
play
Play audio into call (web)
curl --request POST \
  --url https://pilotstatus.com.br/v1/calls/{callId}/play \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '
{
  "mediaUrl": "https://cdn.example.com/ivr-greeting.mp3"
}
'
{
  "success": true,
  "id": "call_01HZX...",
  "status": "ACCEPTED"
}

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