云客服-创建语音外呼(V2.0.0)(createVoiceNotification):请求说明
请求说明
序号 |
名称 |
参数类型 |
是否必选 |
说明 |
---|---|---|---|---|
1 |
X-APP-Key |
string |
False |
appKey字段,用户标识 |
2 |
Authorization |
string |
True |
鉴权字段,内容格式为:Bearer +tokenByAKSK接口的返回值中AccessToken(Bearer后有空格) |
序号 |
名称 |
参数类型 |
是否必选 |
说明 |
---|---|---|---|---|
1 |
called |
string |
True |
外呼被叫号码 长度限制:string(32) |
2 |
playList |
array[object] |
True |
数组长度:1-5 |
2.1 |
voiceId |
string |
False |
录音id(voiceId,voiceFileName,templateId必须填写1个) |
2.2 |
voiceFileName |
string |
False |
录音文件名(voiceId,voiceFileName,templateId必须填写1个) |
2.3 |
templateId |
string |
False |
模板id(voiceId,voiceFileName,templateId必须填写1个) |
2.5 |
templateParams |
array[string] |
False |
数组长度:1-10 长度限制:string(32) |
3 |
callBackUrl |
string |
False |
回调URL 长度限制:string(256) |
4 |
callerPresent |
string |
False |
用户侧主叫外显号码 长度限制:string(32) |
5 |
playTimes |
number |
False |
播放次数 范围:1-5 |
6 |
priority |
string |
False |
播放语音通知优先级参数。 取值范围1-9整数,默认值为9。数字越小优先级越高。 |