Get inbox response-time stats
Time-to-first-response stats. Pairs each received message with the next sent message in the same conversation and reports the delta as both summary statistics and a fixed-bucket histogram suited for the analytics page's TTR chart.
sampleSize reflects only conversations that received AND got a
reply in the window. Received-but-never-answered conversations
are excluded. Compare against /v1/analytics/inbox/volume's
summary.received to compute reply rate.
Max date range is 365 days.
Authorization
bearerAuth API key authentication: send your Zernio API key in the Authorization header, prefixed with Bearer.
In: header
Query Parameters
datedateResponse Body
application/json
application/json
application/json
application/json
{ "success": true, "from": "2019-08-24", "to": "2019-08-24", "summary": { "sampleSize": 0, "medianSeconds": 0, "p90Seconds": 0, "p99Seconds": 0, "meanSeconds": 0, "fastestSeconds": 0, "slowestSeconds": 0 }, "histogram": [ { "bucket": "string", "lowerSeconds": 0, "upperSeconds": 0, "count": 0 } ]}Get day × hour heatmap
Day-of-week × hour-of-day breakdown of inbox messages. Buckets are sparse: only cells with at least one event are returned; clients zero-fill the rest to render the full 7×24 grid. The `dow` field follows ClickHouse's `toDayOfWeek` convention (1 = Monday … 7 = Sunday). Max date range is 365 days.
Get inbox source breakdown
Breakdown of inbox messages by their lineage source (the `metadata.source` field set at ingest time: human / workflow / sequence / broadcast / comment_automation / api / contact / platform). Each source row also carries a per-platform sub-split. Max date range is 365 days.