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

Authorizations

X-API-Key
string
header
required

Headers

X-API-Key
string
required

Body

multipart/form-data
receiver_number
string
required

E.164 or national number to call

file
file
required

Audio file (MP3 or WAV) to play to the recipient

Response

Successful Response