首页 > API中心 > IVR群呼 > 文档指引
https://api.laaffic.com/v3/voice/recallFlow/update
| 参数 | 说明 | 是否必填 | 类型 |
|---|---|---|---|
| keyId | 自动重呼任务流程唯一主键 | 是 | Int |
| recallInterval | 重呼间隔,单位分钟,可输入1-1440分钟 | 是 | Int |
| recallNum | 重呼次数,可输入1-10 | 是 | Int |
| recallType | 重呼类型,每次重呼都基于上次任务结果进行重呼,0-全部重呼,1-失败重呼 | 是 | Int |
| nodeList | 流程节点 | 否 | Array |
| source | 文件来源(1-已上传文件,2-重新上传语音文件,3-文本转语音) | 是 | Int |
| voiceFileId | 语音文件ID | source=1必填 | |
| uploadName | 上传文件名称,长度5-32字符 | source=2必填 | String |
| baseFile | base64文件流 | source=2必填 | String |
| text | 文件内容:tts文本 最大 2048字符 | source=3 必填 | String |
| lan | 语种,语种详细内容请查询表格 | source=3 必填 | String |
| speakingRate | 语速:0.25 - 4倍 | 否 | Double |
| ssmlGender | 音色:1 男 2女。允许为空,存在多种音色时系统默认使用女声 | 否 | Int |
| accent | 口音,可配置语种口音,如英语[美国口音]、英语[印度口音] 等,口音详细内容请查询表格 | 否 | Int |
| hangUpSms | 触发挂机短信 0-否,1-是 | 是 | Int |
| smsContent | 挂机短信短信模板,最大1000字符。支持变量替换功能,变量NULL-NULL | hangUpSms=1,必填 | String |
| senderId | 发送者ID,最大32字符 | 否 | String |
| feedbackPush | 按键反馈推送短信: 0-否,1-是 | hangUpSms=1,(feedbackPush,successPush,failedPush,ringPush)必填有一个传值为1 | Int |
| feedbackValue | 按键反馈值: 0-9 | feedbackPush =1,必填 | String |
| successPush | 通话成功推送送短信: 0-否,1-是 | hangUpSms=1,(feedbackPush,successPush,failedPush,ringPush)必填有一个传值为1 | Int |
| successPushTime | 通话成功后多少秒推送短信,最少1s,最大9999s | successPush=1,必填 | Int |
| failedPush | 通话失败推送送短信: 0-否, 1-是 | hangUpSms=1,(feedbackPush,successPush,failedPush,ringPush)必填有一个传值为1 | Int |
| ringPush | 响铃成功推送送短信: 0-否, 1-是 | hangUpSms=1,(feedbackPush,successPush,failedPush,ringPush)必填有一个传值为1 | Int |
| toSeat | 是否转坐席:0-否,1-是 | 是 | Int |
| sipGroupId | 坐席组id | 当toSeat=1时必填 | Int |
| outboundControl | 外呼控制器,1-比例式外呼 | 当toSeat=1时必填 | Int |
| calloutRate | 外呼倍率,最多1-100 | 当toSeat=1时必填 | Int |
| toSeatType | 转坐席条件,1群呼结束后转接,2根据按键反馈转接 | 当toSeat=1时必填 | Int |
| toSeatKey | 转接按键 | 当toSeat=1并且toSeatType=2时必填 | String |
| delayTransfer | 延迟转接,单位秒。需转坐席且按键转接时参数生效 | 当toSeat=1并且toSeatType=2时参数生效 | Int |
Request URL:
https://api.laaffic.com/v3/voice/recallFlow/queryPage
Request Method:
POST
Request Headers:
Content-Type: application/json;charset=UTF-8
Sign: 05d7a50893e22a5c4bb3216ae3396c7c
Timestamp: 1630468800
Api-Key: bDqJFiq9
Request Body:
{
"keyId": 299,
"recallType": 0,
"recallInterval": 30,
"recallNum": 1,
"nodeList": [
{
"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": 1,
"sipGroupId": 1000038,
"outboundControl": 1,
"calloutRate": 1,
"toSeatType": 1,
"toSeatKey": null,
"delayTransfer": 0
}
]
}| 参数 | 说明 | 类型 |
|---|---|---|
| code | 状态码,0成功,其他失败参见接口响应状态码 | String |
| msg | 失败原因说明 | String |
| data |
{
"code": 0,
"msg": "success",
"data": null
}| code | 状态说明 |
|---|---|
| 0 | 成功 |
| -1 | 账号认证异常 |
| -2 | ip限制 |
| -16 | 时间戳过期 |
| -18 | 系统异常 |
| -22 | 参数异常 |
对接有疑问?联络我们的技术支援
LAAFFIC API 专属 TG 技术对接频道,即时回应您的需求
点击此处开启人工服务