New API Documentation
GET
/api/v2/accounts/{account_id}/reports/first_response_time_distribution
- Returns first response time distribution grouped by channel type
- Shows conversation counts in time buckets: 0-1h, 1-4h, 4-8h, 8-24h,
24h+
- Parameters: since, until (Unix timestamps)
GET /api/v2/accounts/{account_id}/reports/inbox_label_matrix
- Returns a matrix of conversation counts for inbox-label combinations
- Parameters: since, until, inbox_ids[], label_ids[]
Fixes
- Removed unused business_hours boolean parameter from
/api/v2/accounts/{account_id}/summary_reports/channel
- Updated ReDoc script from unstable @next to stable @2.1.5 version to
fix empty swagger page
26 lines
777 B
YAML
26 lines
777 B
YAML
tags:
|
|
- Reports
|
|
operationId: get-inbox-label-matrix
|
|
summary: Get inbox-label matrix report
|
|
security:
|
|
- userApiKey: []
|
|
description: |
|
|
Get a matrix showing the count of conversations for each inbox-label combination.
|
|
Returns a list of inboxes, labels, and a 2D matrix where each cell contains the count of conversations
|
|
in a specific inbox that have a specific label applied.
|
|
|
|
**Note:** This API endpoint is available only in Chatwoot version 4.11.0 and above.
|
|
responses:
|
|
'200':
|
|
description: Success
|
|
content:
|
|
application/json:
|
|
schema:
|
|
$ref: '#/components/schemas/inbox_label_matrix'
|
|
'403':
|
|
description: Access denied
|
|
content:
|
|
application/json:
|
|
schema:
|
|
$ref: '#/components/schemas/bad_request_error'
|