POST
/
v1
/
subscribers
/
{subscriberId}
/
messages
/
mark-all
Marks all the subscriber messages as read, unread, seen or unseen. Optionally you can pass feed id (or array) to mark messages of a particular feed.
curl --request POST \
  --url https://api.novu.co/v1/subscribers/{subscriberId}/messages/mark-all \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{
  "feedIdentifier": "<string>",
  "markAs": "read"
}'
123
Enter your API key in the Authorization field like the example shown below:E.g ApiKey 18d2e625f05d80e
Marks all messages of one subscriber as read, unread, seen, unseen. Optionally, single feedIdentifier or array of feedIdentifiers can be passed to mark messages of particular feeds.

Authorizations

Authorization
string
header
required

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

Path Parameters

subscriberId
string
required

Body

application/json

Response

201
application/json

The response is of type number.