Chimely
Api

Mark everything read (watermark move)

Moves the per-subscriber read watermark to now — a one-row update, not a bulk UPDATE. Covers both sources; individually-read exception rows below the new watermark are garbage-collected.

POST
/v1/inbox/read-all

Moves the per-subscriber read watermark to now — a one-row update, not a bulk UPDATE. Covers both sources; individually-read exception rows below the new watermark are garbage-collected.

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/read-all"
{
  "unread": 0,
  "unseen": 0
}
{
  "error": {
    "code": "invalid_request",
    "message": "string"
  }
}