GET /api/analytics/templates
Returns notification metrics broken down by template, including time series data for each template.
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
Template identifier.
Template display name.
Total delivered count for this template.
Total viewed count for this template.
Total clicked count for this template.
Array of time-bucketed data points with
date, delivered, viewed, and clicked.