---
title: "Mark Read"
method: POST
path: "/notifications/mark-read"
tags: ["notifications"]
---

# Mark Read

`POST /notifications/mark-read`

Set `read_at` on a list of notifications, or all of the user's unread.

Always scopes the UPDATE to `user_id = current_user` so a malicious
client can't clear another user's inbox by guessing notification IDs.

## Request body

- MarkReadRequest
  - `ids` string[], nullable
  - `all` boolean
  - `trip_id` string, uuid, nullable
  - `scope` string, nullable
  - `target_id` string, nullable

## Response `200`

Successful Response

- object

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/stardrift/apis/fastapi.md) · [All operations](https://skmtc.dev/stardrift/apis/fastapi/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/stardrift/fastapi/revisions/00746572572a/schema)
