POST
/
v1
/
subscribers
/
{subscriberId}
/
messages
/
mark-all
curl --request POST \
  --url https://api.novu.co/v1/subscribers/{subscriberId}/messages/mark-all \
  --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

Path Parameters

subscriberId
string
required

Body

application/json
feedIdentifier

Optional feed identifier or array of feed identifiers

markAs
enum<string>
required

Mark all subscriber messages as read, unread, seen or unseen

Available options:
read,
seen,
unread,
unseen

Response

201 - application/json

The response is of type number.