---
title: "Update chat desktop notification settings"
method: PUT
path: "/api/v2/user/desktop/notification"
tags: ["User Settings"]
---

# Update chat desktop notification settings

`PUT /api/v2/user/desktop/notification`

<a class="try-sandbox-link" href="https://sandbox.textmagic.com/#/undefined/updateChatDesktopNotificationSettings" target="_blank">Try in sandbox</a><br>

## Request body

- object
  - `playSound` boolean, required — Enable notification sound?
  - `showNotifications` boolean, required — Show desktop notifications about new messages.
  - `showText` boolean — Incoming message text will be displayed in desktop notifications.
  - `soundId` integer — Sound Id of a notification.

## Response `200`

Request executed with success.

## Other responses

- `400` — Bad request.
- `401` — Unauthorized request.

---

[API](https://skmtc.net/textmagic/apis/textmagic-api.md) · [All operations](https://skmtc.net/textmagic/apis/textmagic-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/textmagic/textmagic-api/revisions/3e4029d19684/schema)
