Get conversation statistics grouped by agent for a given date range. Returns metrics for each agent including conversation counts, resolution counts, average first response time, average resolution time, and average reply time.
This token can be obtained by visiting the profile page or via rails console. Provides access to endpoints based on the user permissions levels. This token can be saved by an external system when user is created via API, to perform activities on behalf of the user.
The numeric ID of the account
The timestamp from where report should start (Unix timestamp).
The timestamp from where report should stop (Unix timestamp).
Whether to calculate metrics using business hours only.
Success
The agent (user) ID
Number of conversations assigned to the agent during the date range
Number of conversations resolved by the agent during the date range
Average time (in seconds) to resolve conversations. Null if no data available.
Average time (in seconds) for the first response. Null if no data available.
Average time (in seconds) between replies. Null if no data available.
[
{
"id": 1,
"conversations_count": 150,
"resolved_conversations_count": 120,
"avg_resolution_time": 3600,
"avg_first_response_time": 300,
"avg_reply_time": 600
},
{
"id": 2,
"conversations_count": 75,
"resolved_conversations_count": 60,
"avg_resolution_time": 1800,
"avg_first_response_time": 180,
"avg_reply_time": 420
}
]