云客服-创建语音通知(V2.0.0)(createVoiceNotification):报文样例

时间:2024-09-24 14:46:43

报文样例

请求头:

{
"Content-Type": application/json
"x-app-key": *****
"Authorization": Bearer ****
}

请求参数:

{
     "callerPresent": null,
     "called": "88880000",
     "playList": [
         {
             "voiceId": "1201763136043459597"
         },
         {
             "templateId": "1226170940666061826",
             "templateParams": [
                 "3",
                 "人民公园正门"
             ]
         }
     ]  
 }

响应参数:

{
    "result": {
        "callSerialNo": "11827********7090"
    },
    "retCode": "0",
    "retMsg": "Created successfully."
}
support.huaweicloud.com/api-ccfs-cec/cec_07_2802.html