Chimely
Api

Mark one direct notification read

Idempotent. Sets `read_at`; decrements the unread counter only if it was unread.

POST
/v1/inbox/notifications/{id}/read

Idempotent. Sets read_at; decrements the unread counter only if it was unread.

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

Path Parameters

id*string

TypeID: notif_ + UUIDv7 suffix (Crockford base32).

Response Body

application/json

application/json

curl -X POST "https://example.com/v1/inbox/notifications/notif_01h455vb4pex5vsknk084sn02q/read"
Empty
{
  "error": {
    "code": "invalid_request",
    "message": "string"
  }
}
{
  "error": {
    "code": "invalid_request",
    "message": "string"
  }
}