---
title: "Update Notification Preferences"
method: PATCH
path: "/api/app-auto-gtm/notification-preferences"
tags: ["AppAutoGtm"]
---

# Update Notification Preferences

`PATCH /api/app-auto-gtm/notification-preferences`

Partial update of the signed-in user's per-type email opt-outs. Only the
provided types are written; the rest of the JSONB is preserved via an atomic
``|| jsonb`` merge (so a concurrent one-click unsubscribe can't be clobbered
by a read-modify-write).

## Cookies

- `ex_access` string, nullable
- `ex_org` string, nullable

## Request body

- NotificationPreferencesUpdate — Partial update — only the provided fields are written.
  - `daily_digest` boolean, nullable
  - `autopilot_recap` boolean, nullable

## Response `200`

Successful Response

- NotificationPreferences
  - `daily_digest` boolean, required
  - `autopilot_recap` boolean, required

## Other responses

- `422` — Validation Error

---

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