---
title: "Set notification feed state"
method: POST
path: "/v1/notifications/feed/state"
tags: ["notifications"]
---

# Set notification feed state

`POST /v1/notifications/feed/state`

## Request

- Base URL: `https://app.legend.trade/api/rest`
- URL: `https://app.legend.trade/api/rest/v1/notifications/feed/state`
- Auth: HTTP bearer

## Request body

- object
  - `ids` string[], required
  - `action` 'read' | 'archive' | 'unarchive', required
  - `expectedUserId` string, uuid

## Response `200`

Successful response

- NotificationMutationOutput
  - `success` true, required

## Other responses

- `400`: Invalid input data
- `401`: Authorization not provided
- `403`: Insufficient access
- `500`: Internal server error

## Changes

- **2026-10-22** `71524db9527a`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/legend/apis/legend-api/changes/v1/notifications/feed/state/post.md)

---

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