AI Voice Group Call Task Recall

POST

https://api.laaffic.com/v3/voice/group/call/resend/ai

AI voice group call task recall.
 
Request Parameters
Parameters Description Required Type
keyId The primary key equals the query return jobId Yes Integer
displayNum Display number No String
taskName Task name Yes String
sendTime Scheduled call time (null for immediate calls) No LocalDateTime
maxCalls Maximum call duration, with forced hang-ups n seconds after connection No Integer
resendType Resend type, 0 resend all 1 resend failed Yes Integer
allowSendTime Allow send time 3 Add up to 3 time periods that can be sent No List
strTime Start time HH:SS No String
endTime End time HH:SS No String
maxRingingTime Maximum ringing duration, default is 60, can be entered in 20-120 seconds No Integer
scriptId The AI speech template ID Yes Integer
enableRecording Whether to enable recording, 0-no, 1-yes. If not filled, the default is no. No Integer
calloutRate Outbound call multiplier Default: 1 No Integer
 
Request Sample
Request URL:
    https://api.laaffic.com/v3/voice/group/call/resend/ai
Request Method:
    POST
Request Headers:
    Content-Type: application/json;charset=UTF-8
    Sign: 05d7a50893e22a5c4bb3216ae3396c7c
    Timestamp: 1630468800
    Api-Key: bDqJFiq9
Request Body:
{
    "keyId":123,
    "taskName": "2024-06-03 10:42:05",
    "maxCalls": 40,
    "displayNum": "1008122211",
    "sendTime":null,
    "resendType":1,
    "scriptId":1,
    "maxRingingTime":60,
    "enableRecording":1,
    "allowSendTime": [{
        "strTime": "10:00",
        "endTime": "22:00"
    }]
}
 
Response Parameters
Parameters Description Type
status "0"means successful, others than 0 means failure, seeing Status Code description. String
reason Failure reason description String
data This method returns the keyId Integer
 
Request Sample
{
    "status":"0",
    "reason":"success",
    "data":123123
}
 
Response Status Code
status Description
0 success
-1 Authentication error
-2 Restricted IP access
-16 Timestamp expires
-18 Port program unusual
-20 Data existing
-21 Data validation exception
-22 Parameter exception
-23 Data caps
-24 Data unexisting
-26 Getting fee faily
-34 There is no callable number when the task was ended last time. Please start the group call task again.
-37 The group call task you submitted exceeds the maximum concurrent task limit. Please complete the task before submitting again!
-38 Conversion text and language type are required
-39 Failed to obtain the text language type
-41 Task name already exists
-42 Recall is allowed only when the task is canceled or completed
-60 The AI speech template does not exist

Telegram
WhatsApp
Chat with us!
Need help?
Click here and start chatting with us!