列出通话
开发环境
开发环境
GET
/v1/calls
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request GET 'http://dev-cn.your-api-server.com/v1/calls' \
--header 'authorization: <authorization>'
响应示例响应示例
{
"count": 784,
"calls": [
{
"call_id": "c1234567-89ab-cdef-0123-456789abcdef",
"created_at": "2023-12-21T23:25:14.801193+00:00",
"call_length": 0.834,
"to": "5551234567",
"from": "+15551234567",
"completed": true,
"queue_status": "complete",
"error_message": null,
"answered_by": "human",
"batch_id": "b1234567-89ab-cdef-0123-gen-batch"
}
]
}
请求参数
Header 参数
authorization
string
必需
示例值:
<authorization>
返回响应
修改于 2024-05-10 07:07:53