Get notification statistics

GET
/v1/notifications/stats

Authorization

Authorization<token>

API key authentication. Allowed headers-- "Authorization: ApiKey <api_key>".

In: header

Header Parameters

idempotency-keystring

A header for idempotency purposes

Response Body

OK

weeklySentRequirednumber
monthlySentRequirednumber
export interface Response {
  weeklySent: number;
  monthlySent: number;
}
 
curl -X GET "https://api.novu.co/v1/notifications/stats" \
  -H "idempotency-key: string" \
  -H "Authorization: <token>"
{
  "weeklySent": 0,
  "monthlySent": 0
}