Notifly
API ReferenceSubscribers

Update all notifications state

This API is deprecated, use v2 API instead. Update all subscriber in-app notifications state such as read, unread, seen or unseen by **subscriberId**.

Deprecated

POST
/v1/subscribers/{subscriberId}/messages/mark-all

This API is deprecated, use v2 API instead. Update all subscriber in-app notifications state such as read, unread, seen or unseen by subscriberId.

Authorization

secretKey
Authorization<token>

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

In: header

Path Parameters

subscriberId*string

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

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 POST "https://example.com/v1/subscribers/string/messages/mark-all" \  -H "Content-Type: application/json" \  -d '{    "markAs": "read"  }'
0