POST
/
v1
/
subscribers
/
{subscriberId}
/
messages
/
mark-as
curl --request POST \
  --url https://api.novu.co/v1/subscribers/{subscriberId}/messages/mark-as \
  --header 'Content-Type: application/json' \
  --data '{
  "messageId": "<string>",
  "markAs": "read"
}'
[
  {}
]

Path Parameters

subscriberId
string
required

Body

application/json
messageId
required
markAs
enum<string>
required
Available options:
read,
seen,
unread,
unseen

Response

201
application/json

The response is of type object[].