---
title: "Update notification preferences"
method: PUT
path: "/api/notifications/preferences"
tags: ["notifications"]
---

# Update notification preferences

`PUT /api/notifications/preferences`

Update notification preferences for the current user. Set enabled_types to null to enable all types.

## Request body

- UpdateNotificationPreferencesRequest — Request model for updating notification preferences.
  - `enabled_types` object, nullable — Map of notification types to enabled status. Omit types to keep them enabled. Set to null to enable all types.

## Response `200`

Successful Response

- NotificationPreferencesResponse — Response model for notification preferences.
  - `title` string, nullable — Success title (set only after an update)
  - `enabled_types` object, nullable — Map of notification types to enabled status. Null means all enabled.
  - `types` NotificationTypeInfo[], required — List of all notification types with their enabled status
    - `type` 'chat' | 'booking' | 'payment' | 'subscription' | 'event' | 'general' | 'daily_morning' | 'daily_evening' | 'lunch' | 'journey' | 'corabea_plus' | 'diary_shared' | 'kit_document', required — Notification type constants for FCM notifications.
    - `enabled` boolean, required — Whether this type is enabled for the user

## Other responses

- `422` — Validation Error

---

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