---
title: "Mark notifications read"
description: "Marks some notifications read (ids), or all of them (all: true)."
canonical_url: https://docs.markdrop.in/api/notifications/mark-notifications-read
last_updated: 2026-11-04
site: "Markdrop Docs"
index: https://docs.markdrop.in/llms.txt
---

# Mark notifications read

`POST https://api.markdrop.in/api/v1/notifications/read`

Marks some notifications read (`ids`), or all of them (`all: true`). Returns how many changed and the new unread count.

- **Authentication:** API token required: `Authorization: Bearer mdk_…`.
- **MCP tool:** `mark_notifications_read` ([tools](https://docs.markdrop.in/ai/tools))

## Request body

`application/json`, required.

- `ids` (array of string): The notifications to mark read. Up to 100 items.
- `all` (boolean): `true` marks every notification read. Default `false`.

## Responses

- `200`: OK.
- `401`: No token, or the token is revoked or mistyped.
- `422`: The request didn't validate. `detail` lists each problem, with where it is (`loc`) and why (`msg`).

## Examples

**curl**

```bash
curl -X POST https://api.markdrop.in/api/v1/notifications/read \
  -H "Authorization: Bearer $MARKDROP_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"all":true}'
```

**JavaScript**

```javascript
const res = await fetch("https://api.markdrop.in/api/v1/notifications/read", {
  method: "POST",
  headers: {
    Authorization: `Bearer ${process.env.MARKDROP_TOKEN}`,
    "Content-Type": "application/json",
  },
  body: JSON.stringify({
    "all": true
  }),
});
const data = await res.json();
```

**Python**

```python
import os

import requests

r = requests.post(
    "https://api.markdrop.in/api/v1/notifications/read",
    headers={"Authorization": f"Bearer {os.environ['MARKDROP_TOKEN']}"},
    json={"all": True},
)
r.raise_for_status()
print(r.json())
```
