# Mark Notifications read

> Marks some or all of the user's Notifications read.

`POST /notifications/read` on `https://api.mediux.io`

Send `{ids}` with 1 to 100 Notification IDs, or `{all: true}`. IDs that are unknown, already read or not the user's change nothing and are not counted in `markedRead`.

## Authorization

OAuth 2 bearer token in the `Authorization` header. Required permission: `notifications:read`.

## Request body (`application/json`)

## Responses

### 200

How many Notifications were marked read.

- `data` (object, required)
  - `markedRead` (integer, required)

### 400

The request is malformed or failed validation. Inspect `error.code` and `error.issues`.

### 401

The access token is missing (`auth.required`), or invalid, expired or revoked (`auth.invalidToken`).

### 403

The token lacks the required App Permission (`auth.insufficientScope`, with `details.required`), or the account or connection may not do this (`auth.forbidden`).

### 413

The body exceeds the allowed size.

### 415

The `Content-Type` is not `application/json`.

### 429

Too many requests. Wait the `Retry-After` seconds before trying again.

### 503

Temporarily unavailable. Check the outcome before retrying a write.

## Example response (200)

```json
{
  "data": {
    "markedRead": 0
  }
}
```
