---
title: "Update Notification Prefs"
method: PUT
path: "/api/me/notifications"
tags: ["account"]
---

# Update Notification Prefs

`PUT /api/me/notifications`

## Request

- Base URL: `https://api.taxcompass.it` (the document declares no server; this is the origin it was published from)
- URL: `https://api.taxcompass.it/api/me/notifications`
- Auth: HTTP bearer

Set the email preferences. The body is the resulting state, not a patch.

This is the in-app half of the opt-out; the emails themselves carry the
no-login unsubscribe link, and both flip the same column.

## Request body

- NotificationPreferences: What TaxCompass may email this account about (AP-115). One field today, and it is a *whole* preference rather than a patch: a PUT states the resulting state. The field is therefore **required** — an omitted key would otherwise fall back to the default and silently re-enable a channel the user had just switched off, which is the one failure mode an opt-out must not have. The digest's own idempotency stamp (``users.last_digest_at``) is deliberately absent: it is the sender's bookkeeping, not something a user sets.
  - `email_deadline_reminders` boolean, required

## Response `200`

Successful Response

- NotificationPreferences: What TaxCompass may email this account about (AP-115). One field today, and it is a *whole* preference rather than a patch: a PUT states the resulting state. The field is therefore **required** — an omitted key would otherwise fall back to the default and silently re-enable a channel the user had just switched off, which is the one failure mode an opt-out must not have. The digest's own idempotency stamp (``users.last_digest_at``) is deliberately absent: it is the sender's bookkeeping, not something a user sets.
  - `email_deadline_reminders` boolean, required

## Other responses

- `422`: Validation Error

---

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