Get notification statistics
GET
Retrieve notification statistics for a specified time period
header
X-API-Key<token>API key authentication using X-API-Key header
days?integerRange
0 <= value <= 9007199254740991Default
30Default Response
application/json- response
Notification totals broken down by type, channel and user
total_notifications*numberby_type*array<>by_channel*array<>by_user*array<>curl -X GET 'http://localhost:3003/v1/stats/notifications'Example Response
{ "total_notifications": 0, "by_type": [ { "type": "string", "count": 0 } ], "by_channel": [ { "channel": "string", "count": 0 } ], "by_user": [ { "user_name": "string", "count": 0 } ]}