특정 필터 조건으로 통화 목록을 조회하는 엔드포인트입니다. 페이지네이션, 기간 필터, 에이전트 필터 등 다양한 조건으로 검색할 수 있습니다.
curl --request POST \
--url https://api.tryvox.co/functions/v1/v1/list-calls \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"filter_criteria": {
"agent_id": [
"<string>"
],
"disconnection_reason": [
"<string>"
],
"call_type": [
"<string>"
],
"user_sentiment": [
"<string>"
],
"call_from": [
"<string>"
],
"call_to": [
"<string>"
],
"duration": "<unknown>",
"start_timestamp": "<unknown>"
},
"sort_order": "descending",
"limit": 50,
"pagination_key": "<string>"
}
'{
"calls": [
{
"agent_id": "<string>",
"call_id": "<string>",
"call_type": "inbound",
"call_from": "<string>",
"call_to": "<string>",
"dynamic_variables": {},
"metadata": {},
"disconnection_reason": "dial_no_answer",
"start_timestamp": 123,
"end_timestamp": 123,
"duration_ms": 123,
"transcript": [
{
"role": "agent",
"content": "<string>"
}
],
"transcript_with_tool_calls": [
{
"role": "agent",
"content": "<string>"
}
],
"recording_url": "<string>",
"call_cost": {
"total_credits_used": 123,
"duration_seconds": 123
},
"call_analysis": {
"summary": "<string>",
"user_sentiment": "<string>",
"custom_analysis_data": [
{}
]
},
"opt_out_sensitive_data_storage": false
}
],
"next_pagination_key": "<string>"
}대시보드에서 발급받은 API 키를 인증 헤더에 포함시켜야 합니다. 형식은 "Bearer YOUR_API_KEY" 입니다.
Show child attributes
1 <= x <= 500Successful Response
Show child attributes
inbound, outbound, web dial_no_answer, user_hangup, agent_hangup, concurrency_limit_reached, insufficient_balance, error_voxai, max_duration_reached, voicemail_reached, inactivity, flow_error, call_transfer Model representing a basic message in a call transcript.
Was this page helpful?
curl --request POST \
--url https://api.tryvox.co/functions/v1/v1/list-calls \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"filter_criteria": {
"agent_id": [
"<string>"
],
"disconnection_reason": [
"<string>"
],
"call_type": [
"<string>"
],
"user_sentiment": [
"<string>"
],
"call_from": [
"<string>"
],
"call_to": [
"<string>"
],
"duration": "<unknown>",
"start_timestamp": "<unknown>"
},
"sort_order": "descending",
"limit": 50,
"pagination_key": "<string>"
}
'{
"calls": [
{
"agent_id": "<string>",
"call_id": "<string>",
"call_type": "inbound",
"call_from": "<string>",
"call_to": "<string>",
"dynamic_variables": {},
"metadata": {},
"disconnection_reason": "dial_no_answer",
"start_timestamp": 123,
"end_timestamp": 123,
"duration_ms": 123,
"transcript": [
{
"role": "agent",
"content": "<string>"
}
],
"transcript_with_tool_calls": [
{
"role": "agent",
"content": "<string>"
}
],
"recording_url": "<string>",
"call_cost": {
"total_credits_used": 123,
"duration_seconds": 123
},
"call_analysis": {
"summary": "<string>",
"user_sentiment": "<string>",
"custom_analysis_data": [
{}
]
},
"opt_out_sensitive_data_storage": false
}
],
"next_pagination_key": "<string>"
}