Skip to main content
POST
Error

Authorizations

Authorization
string
header
required

The control surface credential. Send Authorization: Bearer <token>.

Two kinds of token are accepted and they are told apart by shape, not by a separate header. A token beginning pbk_ is an org scoped API key, whose public half and secret half are generated together and of which only a hash of the secret is ever stored; anything else is treated as an OAuth 2.1 access token and verified against the authorization server's keys.

Both resolve to the same context: an org, a principal and a set of scopes. Nothing downstream branches on which channel you used, with one deliberate exception, key management, which requires a signed-in person so that a key can never mint another key.

Scopes are enforced when MCP tools are REGISTERED rather than when they are called, so a tool your credential cannot use is absent from tools/list rather than refused mid gesture.

Body

application/json

The ids to mark.

notificationIds
string[]
required

Ids exactly as the listing gave them.

Required array length: 1 - 100 elements
Maximum string length: 300

Response

How many were marked, and the bell's number for stored notifications afterwards.

markedRead
integer
required
actionRequiredUnread
integer
required

The bell's number after this call, the same number the listing reports. Redraw the bell from it rather than re-listing.