Api
Mark everything seen (badge clear; watermark move)
Called by the SDK when the inbox opens. Moves the seen watermark; read state is untouched.
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"
}
}Mark everything read (watermark move) POST
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.
Mark one broadcast read (for this subscriber) POST
Idempotent. Inserts a `broadcast_reads` exception row; a no-op if the broadcast is already below the read watermark.