Skip to main content
GET
/
api
/
v2
/
accounts
/
{account_id}
/
summary_reports
/
team
Get conversation statistics grouped by team
curl --request GET \
  --url https://app.chatwoot.com/api/v2/accounts/{account_id}/summary_reports/team \
  --header 'api_access_token: <api-key>'
[
  {
    "id": 1,
    "conversations_count": 250,
    "resolved_conversations_count": 200,
    "avg_resolution_time": 2800,
    "avg_first_response_time": 240,
    "avg_reply_time": 500
  },
  {
    "id": 2,
    "conversations_count": 180,
    "resolved_conversations_count": 150,
    "avg_resolution_time": 2400,
    "avg_first_response_time": 200,
    "avg_reply_time": 450
  }
]

Authorizations

api_access_token
string
header
required

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.

Path Parameters

account_id
integer
required

The numeric ID of the account

Query Parameters

since
string

The timestamp from where report should start (Unix timestamp).

until
string

The timestamp from where report should stop (Unix timestamp).

business_hours
boolean

Whether to calculate metrics using business hours only.

Response

Success

id
number

The team ID

conversations_count
number

Number of conversations assigned to the team during the date range

resolved_conversations_count
number

Number of conversations resolved by the team during the date range

avg_resolution_time
number | null

Average time (in seconds) to resolve conversations. Null if no data available.

avg_first_response_time
number | null

Average time (in seconds) for the first response. Null if no data available.

avg_reply_time
number | null

Average time (in seconds) between replies. Null if no data available.

Example:
[
{
"id": 1,
"conversations_count": 250,
"resolved_conversations_count": 200,
"avg_resolution_time": 2800,
"avg_first_response_time": 240,
"avg_reply_time": 500
},
{
"id": 2,
"conversations_count": 180,
"resolved_conversations_count": 150,
"avg_resolution_time": 2400,
"avg_first_response_time": 200,
"avg_reply_time": 450
}
]