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
51 lines
1.1 KiB
YAML
51 lines
1.1 KiB
YAML
type: object
|
|
description: Inbox-label matrix report showing the count of conversations for each inbox-label combination.
|
|
properties:
|
|
inboxes:
|
|
type: array
|
|
description: List of inboxes included in the report
|
|
items:
|
|
type: object
|
|
properties:
|
|
id:
|
|
type: number
|
|
description: The inbox ID
|
|
name:
|
|
type: string
|
|
description: The inbox name
|
|
labels:
|
|
type: array
|
|
description: List of labels included in the report
|
|
items:
|
|
type: object
|
|
properties:
|
|
id:
|
|
type: number
|
|
description: The label ID
|
|
title:
|
|
type: string
|
|
description: The label title
|
|
matrix:
|
|
type: array
|
|
description: 2D array where matrix[i][j] represents the count of conversations in inboxes[i] with labels[j]
|
|
items:
|
|
type: array
|
|
items:
|
|
type: number
|
|
example:
|
|
inboxes:
|
|
- id: 1
|
|
name: Website Chat
|
|
- id: 2
|
|
name: Email Support
|
|
labels:
|
|
- id: 1
|
|
title: bug
|
|
- id: 2
|
|
title: feature-request
|
|
- id: 3
|
|
title: urgent
|
|
matrix:
|
|
- [10, 5, 3]
|
|
- [8, 12, 2]
|