Authorizations
Body
application/json
필터, 정렬, 페이징을 적용하여 통화 목록을 조회합니다.
curl --request POST \
--url https://client-api.tryvox.co/v2/calls/list \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"filter_criteria": {
"agent_id": [
"agent_123"
],
"call_type": [
"outbound"
]
},
"limit": 50,
"sort_order": "descending"
}'{
"calls": [
{
"agent_id": "<string>",
"call_id": "<string>",
"call_type": "web",
"call_from": "<string>",
"call_to": "<string>",
"dynamic_variables": {},
"metadata": {},
"disconnection_reason": "user_hangup",
"start_timestamp": 123,
"end_timestamp": 123,
"duration_ms": 123,
"transcript": [
{
"role": "agent",
"content": "<string>",
"start_at": 123,
"end_at": 123
}
],
"transcript_with_tool_calls": [
{
"role": "agent",
"content": "<string>",
"start_at": 123,
"end_at": 123
}
],
"recording_url": "<string>",
"call_cost": {
"total_credits_used": 123,
"duration_seconds": 123
},
"call_analysis": {
"summary": "<string>",
"user_sentiment": "positive",
"custom_analysis_data": [
{}
]
},
"opt_out_sensitive_data_storage": false
}
],
"next_cursor": "<string>",
"total_count": 0
}Was this page helpful?
curl --request POST \
--url https://client-api.tryvox.co/v2/calls/list \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"filter_criteria": {
"agent_id": [
"agent_123"
],
"call_type": [
"outbound"
]
},
"limit": 50,
"sort_order": "descending"
}'{
"calls": [
{
"agent_id": "<string>",
"call_id": "<string>",
"call_type": "web",
"call_from": "<string>",
"call_to": "<string>",
"dynamic_variables": {},
"metadata": {},
"disconnection_reason": "user_hangup",
"start_timestamp": 123,
"end_timestamp": 123,
"duration_ms": 123,
"transcript": [
{
"role": "agent",
"content": "<string>",
"start_at": 123,
"end_at": 123
}
],
"transcript_with_tool_calls": [
{
"role": "agent",
"content": "<string>",
"start_at": 123,
"end_at": 123
}
],
"recording_url": "<string>",
"call_cost": {
"total_credits_used": 123,
"duration_seconds": 123
},
"call_analysis": {
"summary": "<string>",
"user_sentiment": "positive",
"custom_analysis_data": [
{}
]
},
"opt_out_sensitive_data_storage": false
}
],
"next_cursor": "<string>",
"total_count": 0
}