Get the unseen in-app notifications count for subscribers feed

GET/v1/subscribers/{subscriberId}/notifications/unseen

Authorization

Authorization<token>

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

In: header

Path Parameters

subscriberIdRequiredstring

Query Parameters

seenboolean

Indicates whether to count seen notifications.

Default: false
limitnumber

The maximum number of notifications to return.

Default: 100

Header Parameters

idempotency-keystring

A header for idempotency purposes

curl -X GET "https://api.novu.co/v1/subscribers/<string>/notifications/unseen?seen=false&limit=100" \
  -H "idempotency-key: <string>" \
  -H "Authorization: <token>"

OK

{
  "count": 0
}