Notification Sounds

Update user notification sound preferences

POST
/api/notification-sounds/preferences

Update the authenticated user's notification-sound preferences. At least one of enabled or volume must be present; volume must be in [0, 1].

Authorization

bearerAuth
AuthorizationBearer <token>

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/api/notification-sounds/preferences" \  -H "Content-Type: application/json" \  -d '{    "enabled": true,    "volume": 0.75  }'
{  "success": true,  "data": {    "enabled": true,    "volume": 0.75  }}