v1

latestOpenAPI 3.1.02026-08-0416027.2 KB

Voice [Audio-to-Speech]

API for sending Voice Call (Audio to Speech)

post/voice/send

Request body

customer_mobile_numberstring[] required

The customer mobile number. With country code, e.g 234

pathstring required

Paste the link to the audio file

typestring required

Type should be outgoing

repeatinteger required

Number of times the voice message should be repeated to the recipient

Response

200

codeinteger
{"stackTrail":"paths:/voice/send:post:responses:200:content:application/json:schema:properties:errors","oasType":"schema","type":"unknown"}
messagestring
statusstring

Example response

{
  "code": 200,
  "data": {
    "total_contacts": 1,
    "business_uid": "17a2ed26-07e1-4fc8-9fa6-58adb83940e2"
  },
  "message": "voice sent",
  "status": "success"
}