Skip to main content

Monitor Stats Overview

Monitor Stats Overview (Autodialer)

API thống kê tổng quan các chiến dịch Autodialer theo khoảng thời gian (INTERVAL) gần nhất.

curl --location 'https://{{base_url}}/v3/monitor-stats/overview?interval=30' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer {{token}}'

Query Parameters:

ParameterTypeRequiredDescription
intervalintegerYesKhoảng thời gian thống kề từ INTERVAL phút đến hiện tại
campaign_uuidarrayNoDanh sach của Campaign UUIDs cần filter. Ví dụ: ?campaign_uuid=CAMPAIGN_ID1&campaign_uuid=CAMPAIGN_ID2

Response trả về:

FieldDescription
total_callsTổng số cuộc gọi đã dial trong khoảng thời gian interval
connected_customersSố KH nghe máy (status: ANSWERED, BUSY LINE, DROP)
connected_agentsSố cuộc gọi agent nhấc máy (status: ANSWERED)
dropped_callsSố cuộc gọi rớt = connected_customers - connected_agents
customer_connection_rate(connected_customers / total_calls) × 100
dropped_call_rate(dropped_calls / connected_customers) × 100
last_updatedThời gian cập nhật dữ liệu gần nhất

Ví dụ:

HTTP Request

GET https://{{base_url}}/v3/monitor-stats/overview?interval=30

Response:

{
"data": {
"total_calls": 20000,
"connected_customers": 15000,
"connected_agents": 10000,
"dropped_calls": 5000,
"customer_connection_rate": 75.00,
"dropped_call_rate": 33.33,
"last_updated": "2025-01-31T10:30:00Z"
},
"status": "success"
}