---
title: "Update Preferences"
method: PUT
path: "/api/push/preferences"
tags: ["push-notifications", "push-notifications"]
---

# Update Preferences

`PUT /api/push/preferences`

## Request

- Base URL: `https://api.dialogbrain.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.dialogbrain.com/api/push/preferences`
- Auth: none declared

Update notification preferences for the current user.

## Request body

- SrcApiPushNotificationsNotificationPreferencesUpdate: Update notification preferences.
  - `push_enabled` boolean, nullable
  - `notify_message_new` boolean, nullable
  - `notify_message_mention` boolean, nullable
  - `notify_draft_ready` boolean, nullable
  - `notify_sync_error` boolean, nullable
  - `notify_auto_reply_sent` boolean, nullable
  - `notify_calls` boolean, nullable
  - `notify_dm_only` boolean, nullable
  - `muted_thread_ids` integer[], nullable
  - `quiet_hours_enabled` boolean, nullable
  - `quiet_hours_start` string, nullable
  - `quiet_hours_end` string, nullable
  - `quiet_hours_timezone` string, nullable

## Response `200`

Successful Response

- NotificationPreferences: User notification preferences.
  - `push_enabled` boolean
  - `notify_message_new` boolean
  - `notify_message_mention` boolean
  - `notify_draft_ready` boolean
  - `notify_sync_error` boolean
  - `notify_auto_reply_sent` boolean
  - `notify_calls` boolean
  - `notify_dm_only` boolean
  - `muted_thread_ids` integer[]
  - `quiet_hours_enabled` boolean
  - `quiet_hours_start` string, nullable
  - `quiet_hours_end` string, nullable
  - `quiet_hours_timezone` string

## Other responses

- `422`: Validation Error

---

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