Skip to main content
POST
/
v1
/
voice
/
calls
/
audio
Voice Call Audio
curl --request POST \
  --url https://karibu.briq.tz/v1/voice/calls/audio \
  --header 'Content-Type: application/json' \
  --header 'X-API-Key: <api-key>' \
  --data '
{
  "receiver_number": "<string>",
  "audio_url": "<string>"
}
'
{
  "detail": [
    {
      "loc": [
        "<string>"
      ],
      "msg": "<string>",
      "type": "<string>"
    }
  ]
}

Authorizations

X-API-Key
string
header
required

Headers

X-API-Key
string
required

Body

application/json

Request to place a voice call that plays a pre-recorded audio file from a URL.

receiver_number
string
required

E.164 or national number to call (e.g. 255788344348).

Example:

"255788344348"

audio_url
string
required

Public URL of the audio file to play (e.g. MP3, WAV).

Example:

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

Response

Successful Response