Subscribers
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.
POST
/
v1
/
subscribers
/
{subscriberId}
/
messages
/
mark-all
Authorization
Path
Body
curl --request POST \
--url https://api.novu.co/v1/subscribers/{subscriberId}/messages/mark-all \
--header 'Authorization: <authorization>' \
--header 'Content-Type: application/json' \
--data '{
"markAs": "<markas>"
}'
"number"
Enter your API key in the Authorization
field like the example shown below:
E.g ApiKey 18d2e625f05d80e
Authorizations
Authorizationheaderrequired
string
Path Parameters
subscriberIdrequired
string
Body
application/json
feedIdentifier
Optional feed identifier or array of feed identifiers
markAsrequired
enum<string>
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
.
Was this page helpful?
curl --request POST \
--url https://api.novu.co/v1/subscribers/{subscriberId}/messages/mark-all \
--header 'Authorization: <authorization>' \
--header 'Content-Type: application/json' \
--data '{
"markAs": "<markas>"
}'
"number"