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

# Update user alert preferences

> Updates alert preferences for the authenticated user. Allows users to control which types of notifications they receive, such as alerts for docket filings or case creation events.



## OpenAPI

````yaml api-reference/alerts.yaml post /preferences/update
openapi: 3.0.3
info:
  title: alerts
  description: >-
    The Alerts service listens for important events happening across the
    platform. When something notable occurs, it sends the right notification,
    such as an email or push message, based on each user's preferences.
  version: 1.0.0
servers:
  - url: https://alerts.platform.arb.inc
security: []
tags:
  - name: /
  - name: preferences
  - name: register
paths:
  /preferences/update:
    post:
      tags:
        - preferences
      summary: Update user alert preferences
      description: >-
        Updates alert preferences for the authenticated user. Allows users to
        control which types of notifications they receive, such as alerts for
        docket filings or case creation events.
      operationId: updatePreferences
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                docket_filings:
                  type: boolean
                  description: Whether to receive alerts when new docket filings occur
                  example: true
                case_created:
                  type: boolean
                  description: >-
                    Whether to receive a confirmation email when a new case is
                    filed
                  example: false
      responses:
        '200':
          description: Preferences updated successfully
          content:
            text/plain:
              schema:
                type: string
                example: Preferences updated successfully
      security:
        - bearerAuth: []
components:
  securitySchemes:
    bearerAuth:
      type: http
      description: access token
      scheme: bearer
      bearerFormat: JWT

````