查询非MQ方式消息推送记录。
调试
您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。
调试
授权信息
请求参数
|
名称 |
类型 |
必填 |
描述 |
示例值 |
| InstanceId |
string |
是 |
云联络中心实例 ID。 |
ccc-test |
| NotificationKeys |
string |
是 |
待查询消息 Key 列表。比如,通话 ID, 可以查询出对应通话 ID 的所有消息。 |
["job-468a63a2-****-****-****-b1ecf726d4be","job-532a63a2-****-****-****-bcccc26d4cc"] |
返回参数
|
名称 |
类型 |
描述 |
示例值 |
|
object |
|||
| Code |
string |
响应码。 |
OK |
| HttpStatusCode |
integer |
HTTP 状态码。 |
200 |
| Message |
string |
响应信息。 |
无 |
| RequestId |
string |
请求 ID。 |
0630E5DF-CEB0-445B-8626-D5C7481181C3 |
| Data |
array<object> |
数据。 |
|
|
object |
消息列表。 |
||
| NotificationType |
string |
消息类型。 |
Dialing |
| NotificationKey |
string |
消息 Key |
job-468a63a2-****-****-****-b1ecf726d4be |
| Content |
string |
消息内容。 |
{ "agentId": "agent@ccc-test", "callType": "OUTBOUND", "callee": "13****00", "caller": "05****81", "channelId": "ch-user-13****00-05****81-1772619731285-job-*****", "contactId": "job-*****", "eventTime": "2026-03-04T10:22:11.309Z", "eventType": "Dialing", "instanceId": "ccc-test", "mediaType": "AUDIO", "skillGroupId": "skill@ccc-test" } |
| InstanceId |
string |
实例 ID。 |
ccc-test |
| Params |
array |
错误参数列表。 |
|
|
string |
错误参数。 |
无 |
示例
正常返回示例
JSON格式
{
"Code": "OK",
"HttpStatusCode": 200,
"Message": "无",
"RequestId": "0630E5DF-CEB0-445B-8626-D5C7481181C3",
"Data": [
{
"NotificationType": "Dialing",
"NotificationKey": "job-468a63a2-****-****-****-b1ecf726d4be",
"Content": "{\n\t\"agentId\": \"agent@ccc-test\",\n\t\"callType\": \"OUTBOUND\",\n\t\"callee\": \"13****00\",\n\t\"caller\": \"05****81\",\n\t\"channelId\": \"ch-user-13****00-05****81-1772619731285-job-*****\",\n\t\"contactId\": \"job-*****\",\n\t\"eventTime\": \"2026-03-04T10:22:11.309Z\",\n\t\"eventType\": \"Dialing\",\n\t\"instanceId\": \"ccc-test\",\n\t\"mediaType\": \"AUDIO\",\n\t\"skillGroupId\": \"skill@ccc-test\"\n}",
"InstanceId": "ccc-test"
}
],
"Params": [
"无"
]
}
错误码
|
HTTP status code |
错误码 |
错误信息 |
描述 |
|---|---|---|---|
| 400 | Parameter.Maximum | The parameter %s must be less than or equal to %s. | 参数必须小于或等于系统规定的最大值。 |
| 400 | Parameter.Minimum | The parameter %s must be greater than or equal to %s. | 参数必须大于或等于系统规定的最小值。 |
| 400 | Parameter.Null | The parameter %s may not be null. | 该参数不能为null值. |
| 404 | NotExists.InstanceId | The specified instance %s does not exist. | 指定的呼叫中心实例不存在。 |
访问错误中心查看更多错误码。
变更历史
更多信息,参考变更详情。