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

# Update Notification Preferences

> Update notification polling frequency, enabled types, or digest settings. All fields are optional.



## OpenAPI

````yaml patch /v1/notifications/preferences
openapi: 3.0.0
info:
  description: >-
    REST API for accessing and managing your Nex data. Generate API keys from
    the Nex web UI and use them to authenticate requests.
  title: Nex Developer API
  contact: {}
  version: '1.0'
servers:
  - url: https://app.nex.ai/api/developers
security: []
paths:
  /v1/notifications/preferences:
    patch:
      tags:
        - Notifications
      summary: Update Notification Preferences
      description: >-
        Update notification polling frequency, enabled types, or digest
        settings. All fields are optional.
      operationId: updateNotificationPreferences
      requestBody:
        content:
          application/json:
            schema:
              $ref: >-
                #/components/schemas/developer.UpdateNotificationPreferencesRequest
        description: Notification preferences to update
        required: true
      responses:
        '200':
          description: Updated notification preferences
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/developer.NotificationPreferencesResponse'
        '400':
          description: Bad request - Invalid data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/httpx.APIError'
        '401':
          description: Unauthorized - Invalid or missing API key
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/httpx.APIError'
        '500':
          description: Internal server error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/httpx.APIError'
      security:
        - ApiKeyAuth: []
components:
  schemas:
    developer.UpdateNotificationPreferencesRequest:
      type: object
      properties:
        frequency_minutes:
          type: integer
          description: How often the notification system polls for new alerts (in minutes)
        enabled_types:
          type: array
          description: List of notification types to enable
          items:
            type: string
        digest_enabled:
          type: boolean
          description: Whether to enable digest notifications
    developer.NotificationPreferencesResponse:
      type: object
      properties:
        frequency_minutes:
          type: integer
          description: How often the notification system polls for new alerts (in minutes)
        enabled_types:
          type: array
          description: List of enabled notification types
          items:
            type: string
        digest_enabled:
          type: boolean
          description: Whether digest notifications are enabled
    httpx.APIError:
      type: object
      properties:
        code:
          type: integer
        message:
          type: string
  securitySchemes:
    ApiKeyAuth:
      description: 'API key for authentication (format: "Bearer YOUR_API_KEY")'
      type: apiKey
      name: Authorization
      in: header

````