Skip to the documentation
API

Mark notifications read

Marks some of the person’s notifications read.

POST/notifications/read

Runs the real call on your workspace.

POST /notifications/read

Marks some of the person’s notifications read.

Example

Needs account:write. Up to 100 ids at a time. An id that is already read, or that is not one of the person’s notifications, is skipped, so marked counts only the ones that changed. Reading a notification never answers it: an open invitation stays open.

curl
curl -X POST "$API/notifications/read" -H "$AUTH" \  -H "Content-Type: application/json" -d '{ "ids": ["ntf_5c2e9a41b7d3460f8e1a2b3c"] }'
Response
{ "object": "notifications_read", "marked": 1, "unreadCount": 0 }

Reference