Skip to the documentation
API

Mark every notification read

Clears the number on the bell, as Mark all as read in the app does.

POST/notifications/read-all

Runs the real call on your workspace.

POST /notifications/read-all

Clears the number on the bell, as Mark all as read in the app does.

Example

Needs account:write and takes no body. Open invitations stay open and can still be answered.

curl
curl -X POST "$API/notifications/read-all" -H "$AUTH"
Response
{ "object": "notifications_read", "marked": 3, "unreadCount": 0 }

Reference