---
search:
  tags:
    - Alerts
    - PATCH
seo:
  description: >-
    Marks some notifications read, or all of them, and answers the unread count.
    Reference for the PATCH /v1/me/inbox endpoint in the INVICTUS API.
sidebar:
  label: Mark notifications read.
  badge: PATCH
title: Mark notifications read.
type: openapi-operation
---
Marks some notifications read, or all of them, and answers the unread count.

`PATCH /v1/me/inbox`

**Request body** (`application/json`, required)

Request body example:

```json
{
  "ids": [
    "Xq3v9Kp2LmN8RtY4"
  ]
}
```

**Responses**

- `200` — Success.
- `400` — Invalid input; \`errors\` names the fields.
- `401` — No session, or it ended.
- `429` — Too many requests; \`retryAfterSeconds\` says when to ask again.
- `500` — Server error.

Response example, 200:

```json
{
  "unread": 0
}
```
