Groundeddocs
ReferenceNotifications

Mark every unread notification read (optionally of one type)

POST/v1/notifications/read-all

Without a body (or without type) every unread notification is marked read; with type, only that type's. The inbox sends the type it is filtered to and labels the button "Mark these as read".

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

curl -X POST "https://example.com/v1/notifications/read-all" \  -H "Content-Type: application/json" \  -d '{}'
{  "data": {    "updated": 0  }}