Need help with your APIs? I offer API discovery, governance & evangelism services. Explore services →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

Chatwoot Reports API

Analytics and reporting APIs

Chatwoot Reports API is one of 33 APIs that Chatwoot publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

Tagged areas include Reports. The published artifact set on APIs.io includes an OpenAPI specification and API documentation.

This API exposes 12 operations across 12 paths, and defines 14 schemas. It is described by OpenAPI 3.0.3, at version 1.1.0.

Requests are made against a single base URL, https://app.chatwoot.com/.

12 operations 12 paths 14 schemas 12 GET

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.0.3
API Version
1.1.0
Base URL
https://app.chatwoot.com
Authentication
API Key, API Key, API Key
Terms of Service
Resource Areas
1

Authentication & Security 3

Chatwoot Reports API declares 3 security schemes for authenticating requests. An API key is passed in the header as api_access_token (userApiKey). An API key is passed in the header as api_access_token (agentBotApiKey). An API key is passed in the header as api_access_token (platformAppApiKey).

  • userApiKey — 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…
  • agentBotApiKey — This token should be provided by system admin or obtained via rails console. This token can be used to build bot integrations and can only access limited apis.
  • platformAppApiKey — This token can be obtained by the system admin after creating a platformApp. This token should be used to provision agent bots, accounts, users and their roles.

Paths & Operations 12

Across 12 paths, the API surfaces 12 operations — 12 GET. Each is listed below with its method, path, parameters, and response codes.

Reports 12

Analytics and reporting APIs

GET
/api/v1/accounts/{account_id}/reporting_events
Account Reporting Events
get-account-reporting-events 7 params → 200403
GET
/api/v2/accounts/{account_id}/reports
Get Account reports
list-all-conversation-statistics 6 params → 200404403
GET
/api/v2/accounts/{account_id}/reports/summary
Get Account reports summary
list-all-conversation-statistics-summary 5 params → 200404403
GET
/api/v2/accounts/{account_id}/reports/conversations
Account Conversation Metrics
get-account-conversation-metrics 2 params → 200404403
GET
/api/v2/accounts/{account_id}/reports/conversations/
Agent Conversation Metrics
get-agent-conversation-metrics 3 params → 200404403
GET
/api/v2/accounts/{account_id}/summary_reports/channel
Get conversation statistics grouped by channel type
get-channel-summary-report 3 params → 200400403
GET
/api/v2/accounts/{account_id}/summary_reports/inbox
Get conversation statistics grouped by inbox
get-inbox-summary-report 4 params → 200403
GET
/api/v2/accounts/{account_id}/summary_reports/agent
Get conversation statistics grouped by agent
get-agent-summary-report 4 params → 200403
GET
/api/v2/accounts/{account_id}/summary_reports/team
Get conversation statistics grouped by team
get-team-summary-report 4 params → 200403
GET
/api/v2/accounts/{account_id}/reports/first_response_time_distribution
Get first response time distribution by channel
get-first-response-time-distribution 3 params → 200403
GET
/api/v2/accounts/{account_id}/reports/inbox_label_matrix
Get inbox-label matrix report
get-inbox-label-matrix 5 params → 200403
GET
/api/v2/accounts/{account_id}/reports/outgoing_messages_count
Get outgoing messages count grouped by entity
get-outgoing-messages-count 4 params → 200403

Schemas 14

The contract defines 14 schemas that model the data the API accepts and returns. The most detailed are reporting_event (12 properties), account_summary (7 properties), agent_conversation_metrics (6 properties), inbox_label_matrix (3 properties). Each schema is shown below with its type and property counts.

agent_conversation_metrics
object
6 properties
team_summary
array
Team summary report containing conversation statistics grouped by team.
bad_request_error
object
2 properties
request_error
object
3 properties
account_summary
object
7 properties
agent_summary
array
Agent summary report containing conversation statistics grouped by agent.
reporting_events_list_response
object
2 properties
outgoing_messages_count
array
Outgoing messages count report grouped by entity (agent, team, inbox, or label).
inbox_summary
array
Inbox summary report containing conversation statistics grouped by inbox.
inbox_label_matrix
object
Inbox-label matrix report showing the count of conversations for each inbox-label combination.
3 properties
reporting_event
object
12 properties
first_response_time_distribution
object
First response time distribution report grouped by channel type. Shows the count of conversations with first response times in different time buckets.
channel_summary
object
Channel summary report containing conversation counts grouped by channel type and status. Available in version 4.10.0+.
reporting_event_meta
object
3 properties

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

chatwoot-reports-api-openapi.yml Raw ↑

Other APIs Chatwoot publishes across the network.

Chatwoot Client API
Chatwoot Platform API
Chatwoot Account AgentBots API
Chatwoot Account API
Chatwoot Account Users API
Chatwoot Accounts API
Chatwoot AgentBots API
Chatwoot Agents API
Chatwoot Audit Logs API
Chatwoot Automation Rule API
Chatwoot Canned Responses API
Chatwoot Contact Labels API