GET /api/analytics/channels
Returns notification metrics broken down by channel type, including time series data for each channel.
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
Channel type:
in_app, push, sms, email, whatsapp, or custom.Total delivered count for this channel.
Total viewed count for this channel.
Total clicked count for this channel.
Array of time-bucketed data points with
date, delivered, viewed, and clicked.