Preview — pending review
This reference is generated from the platform API contract and is still under review. Operations, fields, and descriptions can change before publication.
Mark all notifications read
Marks every item of the caller's feed that occurred at or before upTo (default: now; a
future value is clamped to now) read, for the caller only. Items arriving later stay unread;
the mark never moves backwards. Returns the unread count left.
Idempotency/Concurrency: naturally idempotent; no Idempotency-Key.
bearerTokenAuthorizationBearer <token>An API token (pc_live_…) or a service-account key (sak_live_…), created in Identity & Access Management and sent as Authorization: Bearer <token>. Requests are rate limited per credential and per tenant: every response carries X-RateLimit-Limit, X-RateLimit-Remaining and X-RateLimit-Reset, and a refused request gets 429 RATE_LIMITED with Retry-After.
application/json- body
upTo?stringMark items that occurred at or before this instant (default now).
date-timeThe caller's unread count after the sweep.
application/json- response
unreadCount*integer0 <= valuecurl -X POST "https://example.com/notifications/read-all" \ -H "Content-Type: application/json" \ -d '{}'{ "unreadCount": 0}