---
title: "Update notification settings"
method: PUT
path: "/users/{userID}/notifications"
tags: ["Users"]
---

# Update notification settings

`PUT /users/{userID}/notifications`

Update the email notification settings for a user

## Path parameters

- `userID` string, required

## Request body

- RequestsUserNotificationUpdate
  - `heartbeat_enabled` boolean, required
  - `message_status_enabled` boolean, required
  - `newsletter_enabled` boolean, required
  - `webhook_enabled` boolean, required

## Response `200`

OK

- ResponsesUserResponse
  - `data` EntitiesUser, required
    - `active_phone_id` string
    - `api_key` string, required
    - `created_at` string, required
    - `email` string, required
    - `id` string, required
    - `notification_heartbeat_enabled` boolean, required
    - `notification_message_status_enabled` boolean, required
    - `notification_newsletter_enabled` boolean, required
    - `notification_webhook_enabled` boolean, required
    - `subscription_ends_at` string
    - `subscription_id` string, required
    - `subscription_name` 'free' | 'pro-monthly' | 'pro-yearly' | 'ultra-monthly' | 'ultra-yearly' | 'pro-lifetime' | '20k-monthly' | '100k-monthly' | '50k-monthly' | '200k-monthly' | '20k-yearly', required
    - `subscription_renews_at` string
    - `subscription_status` string
    - `timezone` string, required
    - `updated_at` string, required
  - `message` string, required
  - `status` string, required

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `422` — Unprocessable Entity
- `500` — Internal Server Error

---

[API](https://skmtc.net/ndolestudio/apis/httpsms-api-reference.md) · [All operations](https://skmtc.net/ndolestudio/apis/httpsms-api-reference/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/ndolestudio/httpsms-api-reference/versions/ddd090b6b679/schema)
