Home > API Center > API interface guide
https://api.laaffic.com/v3/voice/recallFlow/queryDetail
| Parameter | Description | Required | Type |
|---|---|---|---|
| keyId | The unique primary key for the automatic redial task process | Yes | Int |
Request URL:
https://api.laaffic.com/v3/voice/recallFlow/queryDetail
Request Method:
POST
Request Headers:
Content-Type: application/json;charset=UTF-8
Sign: 05d7a50893e22a5c4bb3216ae3396c7c
Timestamp: 1630468800
Api-Key: bDqJFiq9
Request Body:
{
"keyId":12
}| Parameter | Description | Type |
|---|---|---|
| code | "0"means successful, others than 0 means failure, seeing Status Code description. | String |
| msg | Failure reason description | String |
| data | Detailed data | Object |
| keyId | The unique primary key for the automatic redial task process | Int |
| recallInterval | Recall interval, measured in minutes. | Int |
| recallNum | Number of recall attempts. | Int |
| recallType | Recall type: 0 - Recall all attempts, 1 - Recall only failed attempts. | Int |
| status | Status: 0 - Pending, 1 - In Progress, 2 - Completed, 3 - Cancelled, 4 - Execution Exception | Int |
| nodeList | Details of nodes in the redial process | JSONArray |
| keyId | Unique primary key for process nodes | Int |
| taskId | Task ID associated with process nodes | Int |
| nodeStatus | Node status: 0 - Pending, 1 - In Progress, 2 - Completed, 3 - Cancelled, 4 - Execution Exception | Int |
| source | File source (1- uploaded file, 2- reuploaded voice file, 3- text-to-speech) | Int |
| voiceFileId | Voice file ID | String |
| uploadName | Name of the uploaded file, 5-32 characters in length | String |
| text | File contents: tts text Max 1000 | String |
| lan | Language, please check the form for language details | string |
| speakingRate | Speech speed: 0.25 - 4 times | Double |
| ssmlGender | Voice: 1 male, 2 female. Allowed to be empty. When there are multiple voices, the system uses female voice by default. | Int |
| accent | Accent, you can configure the language accent, such as English [American Accent], English [Indian Accent], etc. For accent details, please check the table. | Int |
| hangUpSms | Trigger hang up SMS 0- no, 1- Yes | Int |
| smsContent | Text message content maximum 1000 characters. Support variable replacement function, variables ${text1}-${text10} | String |
| senderId | Sender ID Max 32 characters | String |
| feedbackPush | Button feedback Push SMS: 0- no, 1- yes | Int |
| feedbackValue | Feedbackvalue: 0-9 | String |
| successPush | Call success Push Send SMS: 0- no, 1- yes | Int |
| successPushTime | Number of seconds after successful call push SMS message minimum 0s Maximum 9999 | Int |
| failedPush | Failed call Push SMS: 0- No, 1- yes | Int |
| ringPush | Ring successfully push SMS: 0- No, 1- yes | Int |
| toSeat | Toseat or not :0- no, 1- Yes | Int |
| sipGroupId | Agent group id | Int |
| outboundControl | Outgoing Call controller, 1- proportional outgoing call | Int |
| calloutRate | Outgoing call multiplier, up to 1-100 | Int |
| toSeatType | Switch to seat condition, 1 transfer after the group call ends, 2 transfer according to key feedback | Int |
| toSeatKey | Toseatkey | String |
| delayTransfer | Delayed transfer, unit is seconds. | Int |
{
"code": 0,
"msg": "success",
"data": {
"records": [
{
"keyId": 1427,
"taskId": 5009612,
"nodeStatus": 2,
"voiceFileId": "120250811103439c1901f4c53b691b419ad8a143b.wav",
"voiceFileName": null,
"source": 1,
"text": null,
"lan": null,
"speakingRate": null,
"hangUpSms": 0,
"idxSmsAppId": null,
"smsContent": null,
"senderId": null,
"feedbackValue": null,
"feedbackPush": null,
"successPush": null,
"successPushTime": null,
"failedPush": null,
"ringPush": null,
"toSeat": 0,
"sipGroupId": null,
"outboundControl": null,
"calloutRate": null,
"toSeatType": null,
"toSeatKey": null,
"delayTransfer": 0
}
],
"total": 574,
"size": 1,
"current": 1,
"searchCount": true,
"pages": 574
}
}| code | Description |
|---|---|
| 0 | success |
| -1 | Authentication error |
| -2 | Restricted IP access |
| -16 | Timestamp expires |
| -18 | Port program unusual |
| -22 | Parameter exception |
Questions about integration? Contact our technical support
LAAFFIC API dedicated TG technical support channel, real-time response to your needs