GET /api/analytics/users/{userId}
Returns the notification history and delivery metrics for a specific user, showing which notifications were delivered, viewed, and clicked.
Headers
Your CometChat App ID.
Your CometChat API Key.
Path parameters
The user ID to retrieve insights for.
Example request
Example response
Response fields
The queried user ID.
Aggregate counts of
delivered, viewed, and clicked events for this user.Array of notification records with delivery status and timestamps.
The notification identifier.
Template used for the notification.
Channel through which the notification was delivered.
Whether the notification was delivered.
Whether the notification was viewed.
Whether the notification was clicked.