---
title: "Update one or more email-notification toggles"
method: PATCH
path: "/api/me/notification-prefs"
tags: ["me"]
---

# Update one or more email-notification toggles

`PATCH /api/me/notification-prefs`

## Request

- Base URL: `https://api.signalraven.ai`
- URL: `https://api.signalraven.ai/api/me/notification-prefs`
- Auth: none declared

Partial update. Omitted fields stay at their current value. Empty body → 400.

## Request body

- NotificationPrefsPatch: Partial update. Pass only the toggles you want to change. Empty body returns 400.
  - `emailSharedWithMe` boolean
  - `emailMentioned` boolean
  - `emailCommentedOnMyShare` boolean
  - `emailRoleChanged` boolean

## Response `200`

Updated prefs

- NotificationPrefs
  - `emailSharedWithMe` boolean, required: Email when a teammate shares a signal with you. Default: true.
  - `emailMentioned` boolean, required: Email when a teammate @-mentions you. Default: true.
  - `emailCommentedOnMyShare` boolean, required: Email when a teammate comments on a signal you shared (and you are not the commenter). Default: false.
  - `emailRoleChanged` boolean, required: Email when an admin changes your role. Default: true.
  - `updatedAt` string, date-time, required

## Other responses

- `400`: Empty body or invalid field

---

[API](https://skmtc.dev/signalraven/apis/zygnal-api.md) · [All operations](https://skmtc.dev/signalraven/apis/zygnal-api/llms.txt) · [OpenAPI document](https://skmtc.dev/signalraven/apis/zygnal-api/revisions/36e1d9b9d604?raw)
