Console

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

POST
/notifications/read-all

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.

Authorization

bearerToken
headerAuthorizationBearer <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.

Request Body

application/json
  1. body
upTo?string

Mark items that occurred at or before this instant (default now).

Formatdate-time

Response Body

The caller's unread count after the sweep.

application/json
  1. response
unreadCount*integer
Range0 <= value
curl -X POST "https://example.com/notifications/read-all" \  -H "Content-Type: application/json" \  -d '{}'
{  "unreadCount": 0}