> ## Documentation Index
> Fetch the complete documentation index at: https://docs.tetherai.ca/llms.txt
> Use this file to discover all available pages before exploring further.

# Update user notification sound 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].



## OpenAPI

````yaml /api-reference/openapi.yaml post /api/notification-sounds/preferences
openapi: 3.0.3
info:
  title: Tether Relay and Tether API
  version: 1.0.0
  description: >-
    Route-derived OpenAPI contract generated from tether-relay backend sources.
    Regenerate with scripts/sync-openapi-from-backend.mjs.
servers:
  - url: https://your-instance.example.com
    description: Production
  - url: http://localhost:2212
    description: Local API service
security: []
tags:
  - name: AI
  - name: Applications
  - name: Approval
  - name: Auth
  - name: Automations
  - name: Calls
  - name: Campaigns
  - name: Contact Analytics
  - name: Contact Metrics
  - name: Contact Notes
  - name: Contacts
  - name: Conversation Monitor
  - name: Conversations
  - name: Departments
  - name: Email
  - name: Escalation Dashboard
  - name: Event Logs
  - name: Google Sheets
  - name: Marketplace
  - name: Messages
  - name: Notification Sounds
  - name: Notifications
  - name: Org Snapshots
  - name: Organizations
  - name: Outreach
  - name: Outreach Metrics
  - name: Outreach Sources
  - name: Pipelines
  - name: Processes
  - name: Prompts
  - name: Reminders
  - name: Sms
  - name: Templates
  - name: Traces
  - name: Training
  - name: Upload
  - name: User Snapshots
  - name: Users
  - name: Vertical
  - name: Webchats
  - name: Webhook
paths:
  /api/notification-sounds/preferences:
    post:
      tags:
        - Notification Sounds
      summary: Update user notification sound preferences
      description: >-
        Update the authenticated user's notification-sound preferences. At least
        one of `enabled` or `volume` must be present; `volume` must be in [0,
        1].
      operationId: update_notification_preferences
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UpdateNotificationPreferencesRequest'
      responses:
        '200':
          description: Notification preferences updated
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/NotificationPreferencesResponse'
        '400':
          description: At least one preference must be provided or invalid volume
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/NotificationSoundsErrorResponse'
        '404':
          description: User not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/NotificationSoundsErrorResponse'
        '500':
          description: Failed to update notification preferences
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/NotificationSoundsErrorResponse'
      security:
        - bearerAuth: []
components:
  schemas:
    UpdateNotificationPreferencesRequest:
      type: object
      properties:
        enabled:
          type: boolean
          description: When true, the client plays the notification sound on new messages.
        volume:
          type: number
          minimum: 0
          maximum: 1
          description: Output volume 0-1.
      additionalProperties: false
      anyOf:
        - required:
            - enabled
        - required:
            - volume
      example:
        enabled: true
        volume: 0.75
    NotificationPreferencesResponse:
      type: object
      properties:
        success:
          type: boolean
          enum:
            - true
        data:
          type: object
          properties:
            enabled:
              type: boolean
              description: Defaults to true when not explicitly disabled on the user.
            volume:
              type: number
              minimum: 0
              maximum: 1
              description: Defaults to 1.0.
          required:
            - enabled
            - volume
          additionalProperties: true
      required:
        - success
        - data
      additionalProperties: true
      example:
        success: true
        data:
          enabled: true
          volume: 0.75
    NotificationSoundsErrorResponse:
      type: object
      description: Error envelope used by notification-sounds endpoints.
      properties:
        success:
          type: boolean
          enum:
            - false
        message:
          type: string
      additionalProperties: true
      example:
        success: false
        message: User not found
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT

````