---
title: "Update all notifications"
method: POST
path: "/notifications.update_all"
tags: ["Notifications"]
---

# Update all notifications

`POST /notifications.update_all`

## Request

- Base URL: `https://app.getoutline.com/api`
- URL: `https://app.getoutline.com/api/notifications.update_all`
- Auth: one of:
  - HTTP bearer
  - OAuth 2
    - Authorization code: `https://app.getoutline.com/oauth/authorize`
    - Token URL: `https://app.getoutline.com/oauth/token` scopes: `read`, `write`

Update all of the authenticated user's notifications at once, for example to mark them all as viewed or archived.

## Request body

- object
  - `viewedAt` string, date-time, nullable: The date and time to mark notifications viewed, or `null` to mark them unviewed.
  - `archivedAt` string, date-time, nullable: The date and time to archive notifications, or `null` to unarchive them.

## Response `200`

OK

- object
  - `success` boolean

## Other responses

- `401`: The API key is missing or otherwise invalid.
- `403`: The current API key is not authorized to perform this action.
- `429`: The request was rate limited.

## Changes

- **2026-09-05** `6287bce7caad`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/defaulr/apis/outline-api/changes/notifications.update_all/post.md)

---

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