---
title: "Update Notifications"
method: PATCH
path: "/api/notifications/"
tags: ["notifications"]
---

# Update Notifications

`PATCH /api/notifications/`

Bulk update notification content (for key rotation re-encryption).

User can update content for notifications they sent OR received.
On key rotation, user re-encrypts all their messages with new shared secrets.

Returns the updated notifications.

## Request body

- UpdateNotificationsRequest — Bulk update notifications (for key rotation re-encryption).
  - `updates` NotificationUpdate[], required
    - `external_id` string, required
    - `content` string, required

## Response `200`

Successful Response

- NotificationResponse[]
  - `type` string, required
  - `external_id` string, required
  - `sender` UserResponse, required — Standard user representation used across all endpoints. Used for: login response, workspace users, contacts (when registered).
    - `external_id` string, required
    - `email` string, required
    - `given_name` string, required
    - `family_name` string, required
    - `picture` string, nullable
    - `encryption_public_key` string, required
  - `recipient` UserResponse, required — Standard user representation used across all endpoints. Used for: login response, workspace users, contacts (when registered).
    - `external_id` string, required
    - `email` string, required
    - `given_name` string, required
    - `family_name` string, required
    - `picture` string, nullable
    - `encryption_public_key` string, required
  - `workspace_ext_id` string, nullable
  - `content` string, nullable
  - `new` boolean
  - `created_at` string, date-time, required
  - `updated_at` string, date-time, required

## Other responses

- `422` — Validation Error

## Changes

- **2025-12-31** `d14bca97ba86` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/arbicity/apis/arbi/changes/api/notifications/patch.md)

---

[API](https://skmtc.dev/arbicity/apis/arbi.md) · [All operations](https://skmtc.dev/arbicity/apis/arbi/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/arbicity/arbi/revisions/d14bca97ba86/schema)
