通用api - 通话记录回调参数说明 通话记录回调参数说明 话单回调需要给对应的账号配置上回调地址即可。 话单的回调地址配置:由客户提供一个可以接收json数据的接口地址,由我们配置或客户自行在后台配置都可以。 通话记录回调数据格式json { "id": 263056202, "companycode": "9513923", "direction": "callout", "type": "callout", "callmethod": 6, "starttime": "2025-10-16 17:31:13", "answertime": "", "endtime": "2025-10-16 17:31:21", "duration": 8, "billsec": 0, "userid": "0", "memberid": "0", "chengshudu": "0", "ext": "0", "disnumber": "219513923001", "destnumber": "81351111451", "extnumber": "", "recordfilename": "", "downloadip": "", "hangupdirection": 10040, "hangupcause": 10020, "uuid": "db4a44cc-aa72-11f0-ad78-1d7ff0749d07", "userkey": "", "customuuid": "76c33d997640d36b033d43b1d2d3964e", "taskid": "", "round": 0, "recordurl": "" } 通话记录回调参数说明 参数名 类型 说明 callmethod int 呼叫方法:0、不限;1、分机互拨;2、分机直拨(手拨);3、API呼叫(默认);4、API双呼;5、预测式外呼;6、IVR/群呼。 starttime string 呼叫时间 answertime string 应答时间 endtime string 通话结束时间 duration int 呼叫等待时长 billsec int 通话时长 userid string 员工工号 ext string 自定义参数-扩展参数 chengshudu string 自定义参数-值和ext一致 hangupdirection int 挂机方向 hangupcause int 挂机原因代码 memberid string 自定义参数-会员id disnumber string 主叫号码 destnumber string 被叫号码 downloadip string 录音下载ip recordfilename string 录音文件名 id int 数据id companycode string 公司code type string 呼叫类型 callout呼出、callin呼入 extnumber string 分机号 uuid string 通话uuid userkey string 用户按键 customuuid string 自定义参数-客户id taskid string 任务id round string 呼叫轮次 recordurl string 录音下载地址