Chimely
Api

Mark everything seen (badge clear; watermark move)

Called by the SDK when the inbox opens. Moves the seen watermark; read state is untouched.

POST
/v1/inbox/seen-all

Called by the SDK when the inbox opens. Moves the seen watermark; read state is untouched.

Authorization

SubscriberEnv SubscriberHash SubscriberId
X-Chimely-Environment<token>

In: header

X-Chimely-Subscriber-Hash<token>

Optional when the environment has require_subscriber_hash = false.

In: header

X-Chimely-Subscriber<token>

In: header

Response Body

application/json

application/json

curl -X POST "https://example.com/v1/inbox/seen-all"
{
  "unread": 0,
  "unseen": 0
}
{
  "error": {
    "code": "invalid_request",
    "message": "string"
  }
}