IVR File Upload
Last updated
Last updated
URL
RequestMethod
POST
Content-Type
form-data
RequestBody
authSecret
String
yes
API secretKey
file
File
yes
IVR File(Must be a wav format file, and the sound frequency must be 8000HZ)
sendSms
Boolean
yes
Send SMS after answering
callDuration
Integer
false
Call duration of sending SMS(default 0)
smsContent
String
false
sms content(When sendSms is true, the parameter value cannot be empty)
Response Example
Response Param
msg
String
response msg
code
Number
status code
result
Object
response data
result.id
Number
IVR file id
result.url
String
IVR file savePath