Subscribers

Retrieve subscriber notifications count

Retrieve count of in-app (inbox) notifications for a subscriber by its unique key identifier subscriberId. Supports multiple filters to count in-app (inbox) notifications by different criteria, including context keys.

get/v2/subscribers/{subscriberId}/notifications/count

Request

  • Base URL
    https://api.novu.co
  • Auth
    API key in header Authorization

Path parameters

subscriberIdstring required

The identifier of the subscriber

Query parameters

filtersstring required
Example:[{"read":false,"archived":false},{"tags":["important"]},{"tags":{"and":[{"or":["a","b"]},{"or":["c"]}]}}]

Array of filter objects (max 30) to count notifications by different criteria

Headers

idempotency-keystring

A header for idempotency purposes

Response

OK

countnumber required

The count of notifications matching the filter

filterobject required

The filter applied

Changes

No recorded changes to this operation across all 20 revisions of this API.