Notifly
API ReferenceSubscribers

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

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.

Authorization

secretKey
Authorization<token>

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

In: header

Path Parameters

subscriberId*string

The identifier of the subscriber

Query Parameters

filters*string

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

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/v2/subscribers/string/notifications/count?filters=%5B%7B%22read%22%3Afalse%2C%22archived%22%3Afalse%7D%2C%7B%22tags%22%3A%5B%22important%22%5D%7D%2C%7B%22tags%22%3A%7B%22and%22%3A%5B%7B%22or%22%3A%5B%22a%22%2C%22b%22%5D%7D%2C%7B%22or%22%3A%5B%22c%22%5D%7D%5D%7D%7D%5D"
{  "data": [    {      "count": 0,      "filter": {}    }  ]}