1. 鉴权认证(如需) → 2. 发起外呼 → 3. 事件回调 → 4. 录音获取| 鉴权方式 | 说明 | 示例 |
|---|---|---|
| ✅ 静态API Key | 在HTTP Header/body中携带固定Key | Authorization: api_key xxxxxxxx |
| ✅ Bearer Token | 在HTTP Header/body中携带Token | Authorization: Bearer xxxxxxxx |
| ✅ 参数签名 | 基于MD5的签名 | signature=md5(params+secret) |
| 参数名称 | 参数说明 | 是否必填 | 备注 |
|---|---|---|---|
| 被叫 | 客户手机号 | ✅ 必填 | 如:callee、phone_number |
| 主叫 | 员工号码或唯一id | ✅ 必填 | 如:caller、display_number |
{
"records": [
{"call_id": "1", "status": "completed"},
{"call_id": "2", "status": "completed"}
]
}{
"call_id": "1",
"status": "completed",
"task_id": "123456",
"record_url": "https://example.com/recording/1.mp3"
}