Skip to content

呼入成功回调数据

注意

  1. 任务配置大模型质检,回调推送的是质检后的意向等级。

返回数据

json
{
    "count": 1, //通话成功个数
    "data": [
        {
            "calldate": "2025-09-25 21:39:55", //呼叫时间
            "answerdate": "2025-09-25 21:39:55", //应答时间
            "bill": 43, //通话时长 - 秒
            "duration": 43, //秒
            "callid": "3e7ff3fb-2e65-4a51-b322-a01db56f8a90", //软电话拨打的一个唯一id,即为record_id
            "customer_id": "794b99dd-1039-4049-953b-b623f8ea959a",
            "master_user_id": "40863af8-db4a-41c6-a269-eb5bc386d97f",
            "user_id": "40863af8-db4a-41c6-a269-eb5bc386d97f",
            "type": 4, //用户类型  4-主账号 8-子账号
            "intention_results": 1, //意向标签等级
            "rounds": 2, //交互次数
            "score": 0, //通话评分
            "number_data": {
                "number": "17534989887",
                "hangupdate": "2025-09-25 21:40:38",
                "province": "山西",
                "city": "晋中",
                "operator": "联通"
            },
            "group": {
                "id": 11032, //话术id
                "name": "cky测试" //话术组名称
            },
            "task": {
                "id": "cb4a91c2-09c0-4c71-8e67-3887f593bd4d", //外呼任务id
                "name": "cky呼入任务测试"
            },
            "user": {
                "id": "40863af8-db4a-41c6-a269-eb5bc386d97f", //账号id
                "name": "官方系统测试账号"  //账号昵称
            },
            "level": {
                "level_id": "7049b435-3781-4f01-9c42-325bb12f743c", //评分id
                "level_name": "评分中"  //评分名称
            },
            "tags": [
                {
                    "tag_id": "db97dd4e-d7d7-4f7d-bc1c-f347dacc146b",
                    "name": "打出来的是什么号码"
                }
            ],
            "customer_data": {
                "name": "未知", //昵称
                "email": null, //邮箱
                "company": null, //公司
                "extra": null //呼入号码该客户公海额外字段值一般为null
            },
            "voice_url": "hw.test-saas.our.top/api/agent-api/download-voice?key=Um5tQ1dGWXdlVGJYVUF1TDB" //通话录音地址
        }
    ]
}

基于 MIT 许可发布