Skip to Content
inclamoDocs

Get conversation statistics grouped by channel type

GET
/api/v2/accounts/{account_id}/summary_reports/channel

Get conversation counts grouped by channel type and status for a given date range. Returns statistics for each channel type including open, resolved, pending, snoozed, and total conversation counts.

Note: This API endpoint is available only in Chatwoot version 4.10.0 and above. The date range is limited to a maximum of 6 months.

Authorization

headerAuthorizationBearer <token>

Authenticate with Authorization: Bearer <token> using a user API token from Profile Settings. Available in Chatwoot v4.19.0 and later.

Path Parameters

account_id*integer

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).

Response Body

Success

application/json
  1. response

Channel summary report containing conversation counts grouped by channel type and status. Available in version 4.10.0+.

[key: string]?

Conversation statistics for a specific channel type (e.g., Channel::WebWidget, Channel::Api)

Example Request
curl -X GET 'https://helpdesk.inclamo.com/api/v2/accounts/0/summary_reports/channel'
Example Response
{  "property1": {    "open": 0,    "resolved": 0,    "pending": 0,    "snoozed": 0,    "total": 0  },  "property2": {    "open": 0,    "resolved": 0,    "pending": 0,    "snoozed": 0,    "total": 0  }}