---
title: "Mark every unread mail AND every unread article read in one call."
method: POST
path: "/v1/read-all"
tags: ["Messages"]
---

# Mark every unread mail AND every unread article read in one call.

`POST /v1/read-all`

## Request

- Base URL: `https://api.inboxy.net`
- URL: `https://api.inboxy.net/v1/read-all`
- Auth: HTTP bearer

Requires `manage` scope. Optional `before` (ISO-8601) scopes to items received/published strictly before that instant. Returns `{ mail_marked, articles_marked }`.

## Request body

- MarkAllCombinedRequest: Optional filter for the combined zero-everything tool. Empty object zeroes all unread.
  - `before` string, date-time: ISO-8601; only mark items received/published strictly before this instant.

## Response `200`

Update succeeded.

- MarkAllCombinedResult: Counts from /v1/read-all — rows actually changed in each domain.
  - `mail_marked` integer, required
  - `articles_marked` integer, required

## Other responses

- `403`: Token lacks the required scope.

---

[API](https://skmtc.dev/inboxy/apis/inboxy-api.md) · [All operations](https://skmtc.dev/inboxy/apis/inboxy-api/llms.txt) · [OpenAPI document](https://skmtc.dev/inboxy/apis/inboxy-api/revisions/25155a8dec0f?raw)
