GET /api/analytics/overview
Returns a comprehensive analytics overview including a summary of notification metrics, time series data, channel breakdown, and template breakdown for the specified date range.
Headers
Your CometChat App ID.
Your CometChat API Key.
Query parameters
Start date in ISO 8601 format.
End date in ISO 8601 format.
Time series granularity:
hourly or daily.Example request
Example response
Response fields
Aggregate counts for
delivered, viewed, and clicked events across the date range.Array of data points at the requested granularity, each with
date, delivered, viewed, and clicked counts.Per-channel-type metrics with
channelType, delivered, viewed, and clicked.Per-template metrics with
templateId, templateName, delivered, viewed, and clicked.