---
title: "Mark notification items read"
method: POST
path: "/api/v1/account/notifications/read"
tags: ["Account"]
---

# Mark notification items read

`POST /api/v1/account/notifications/read`

## Request

- Base URL: `https://api.dotsy.ai`
- URL: `https://api.dotsy.ai/api/v1/account/notifications/read`
- Auth: HTTP bearer

Mark specific ids or everything in one workspace (`all` with `workspace`) or across all member workspaces (`all` without `workspace`).

## Headers

- `X-Dotsy-Workspace` string

## Request body

- union
  - object
    - `all` true, required
    - `workspace` string
  - object
    - `ids` string[], required
    - `workspace` string

## Response `200`

Updated unread count.

- NotificationsReadResponse
  - `ok` true, required
  - `unread` integer, required

## Other responses

- `403`: `session_required` or `forbidden_workspace`.

---

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