---
title: "Mark Notification Unread"
method: PUT
path: "/notifications/mark_unread"
tags: ["Notifications"]
---

# Mark Notification Unread

`PUT /notifications/mark_unread`

## Request

- Base URL: `https://dataops.nexla.io/nexla-api`
- URL: `https://dataops.nexla.io/nexla-api/notifications/mark_unread`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/nexla/apis/nexla-rest-api/docs/notifications/mark_unread/put.ts> (a function with typed inputs; its response is checked against the schema)

Use this endpoint to mark one, multiple, or all notifications as read. To mark a list of notifications, send an array of notification IDs as the payload. To mark all notifications, send the notification_id query parameter with the value `all`.

## Query parameters

- `notification_id` union
  - 'all'
  - integer

## Request body

- integer[]: Accepts a JSON array of notification IDs.

## Response `200`

Success

## Other responses

- `403`: Forbidden

---

[API](https://skmtc.dev/nexla/apis/nexla-rest-api.md) - [All operations](https://skmtc.dev/nexla/apis/nexla-rest-api/llms.txt) - [OpenAPI document](https://skmtc.dev/nexla/apis/nexla-rest-api/revisions/ef02be92fe7b?raw)
