---
title: "Mark Notifications Read"
method: POST
path: "/notifications/mark_read"
tags: ["Notifications"]
---

# Mark Notifications Read

`POST /notifications/mark_read`

Marks the authenticated user's notifications as read: one experience's (`experience_id`) or everything (`all: true`) — exactly one of the two. Requires a user credential. Responds with the refreshed badge rows for the affected scope.

## Headers

- `Idempotency-Key` string

## Request body

- object
  - `all` boolean — Pass `true` to mark every notification read. Exactly one of `experience_id` or `all` is required.
  - `experience_id` string — Experience to mark read (`exp_` tag). Exactly one of `experience_id` or `all` is required.

## Response `200`

notifications marked read

- object
  - `data` NotificationBadge[], required
    - `account_id` string, nullable, required — Account the experience belongs to, prefixed `biz_`.
    - `experience_id` string, required — Experience the badge counts, prefixed `exp_`.
    - `has_unread` boolean, required — Whether the caller has unread notifications in this experience.
    - `important_count` integer, required — Number of unread important (mention) notifications in this experience.
    - `last_viewed_at` string, nullable, required — When the caller last viewed the experience, as an ISO 8601 timestamp. `null` when never viewed.

## Other responses

- `400` — Invalid Parameters
- `401` — Unauthorized
- `403` — Forbidden
- `404` — Resource not found

---

[API](https://skmtc.net/whop/apis/whop-api.md) · [All operations](https://skmtc.net/whop/apis/whop-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/whop/whop-api/versions/866821546d67/schema)
