Skip to main content
POST
Needs notifications:update. See Permissions.
Send ids (up to 100) with a state:
  • read and unread keep the notifications where they are;
  • dismissed moves them to the done tab, as dismissing does in the bell.
Or send all: true alone to mark every unread notification read. Ids that aren’t yours, or belong to another workspace, are skipped: marked counts the ones that changed.

Errors

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
workspace_id
integer
required

The workspace. It must be one the key can reach.

ids
integer[]

Notification ids. Send these with state, or all alone.

Maximum array length: 100
state
enum<string>
Available options:
read,
unread,
dismissed
all
boolean

True marks every unread notification read.

Response

How many changed, and the counts after.

marked
integer
required

How many notifications changed.

unread_count
integer
required
needs_you_count
integer
required