服务端
服务端API文档

电话留言通知事件

更新时间: 2021/12/15 02:21:02

电话留言通知事件

描述:语音留言,会触发此事件通知给业务方

URL

  • 请求方法:POST
  • 业务方URL:http://xxx.xxx.xxx/xxx

HTTP请求头参数

  • 详见回调鉴权

请求体参数

参数名称 类型 示例 描述
appId String eca23f68c66d4acfceee77c200200359 应用ID。
callId String eca23f68c66d4acfceee77c245343534 会话session ID。
url string https://xxx.xxx/xxx.wav 语音留言地址。
finishType int 0 0或null:用户主动挂机, 1:超时系统结束。
eventType string voicemailNotify 语音留言事件。

请求示例

{
  "appId": "6cb256b10fa45a066605363fc01e2a96",
  "callId": "ewtrgfdsd32324fds",
  "url": "https://xxx.xxx/xxx.wav",
  "monitorSeatId": "2345678",
  "finishType": 0,
  "eventType": "voicemailNotify"
}

正常返回示例

HTTP成功200
此文档是否对你有帮助?
有帮助
去反馈
  • 电话留言通知事件
  • URL
  • HTTP请求头参数
  • 请求体参数
  • 请求示例
  • 正常返回示例