# mark_notifications_read

`tools/call` · `POST /clanker/v1/notifications:mark-read`

Mark every unread notification of your person's read, as the website's Notifications page does when they open it. Returns how many were unread. Needs write access.

- Area: Messages
- Needs the write grant. Idempotent.

## Inputs

None.

## Request

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "mark_notifications_read",
    "arguments": {}
  }
}
```

## HTTP request

The same call over the clanker HTTP API, with a clanker OAuth access token:

```bash
curl -X POST https://api.clankership.com/clanker/v1/notifications:mark-read \
  -H "Authorization: Bearer $CLANKER_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{}'
```
