Home > API Center > API interface guide

 

Cancel Task

POST

https://api.laaffic.com/voice/group/call/cancel

AI Agent voice group call task cancellation.
 
Request Parameters
Parameter Description Required Type
taskIdList Corresponds to the query return parameter taskId (Task ID) Yes List<Integer>
 
Request Example
Request URL:
    https://api.laaffic.com/voice/group/call/cancel
Request Method:
    POST
Request Headers:
    Content-Type: application/json;charset=UTF-8
    Sign: 05d7a50893e22a5c4bb3216ae3396c7c
    Timestamp: 1630468800
    Api-Key: bDqJFiq9
Request Body:
{
  "taskIdList": [123, 456]
}
 
Response Parameters
Parameter Description Type
code Status code, 0 implies success, other failures please refer to the Response Status Code description String
msg Description of failure reason String
data This method returns empty String
 
Response Example
{
    "code": "0",
    "msg": "success",
    "data": null
}
 
Response Status Codes
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
-54 The task you submitted is wrong, please check and submit again!

Was this page helpful?

Questions about integration? Contact our technical support

LAAFFIC API dedicated TG technical support channel, real-time response to your needs

Contact via Telegram

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