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

# Get notification preferences

> Fetch the authenticated user's notification preferences.

Returns defaults (never saved) if the user has not yet configured prefs.
The `email_enabled` / `slack_enabled` scalar fields are always derived
server-side from the per-event matrix for backward-compatibility with
legacy client mappers.



## OpenAPI

````yaml /openapi.json get /v1/me/notifications
openapi: 3.1.0
info:
  description: Causeloop Platform Backend
  title: Causeloop API
  version: 1.0.0
servers: []
security: []
paths:
  /v1/me/notifications:
    get:
      tags:
        - notifications
      summary: Get notification preferences
      description: |-
        Fetch the authenticated user's notification preferences.

        Returns defaults (never saved) if the user has not yet configured prefs.
        The `email_enabled` / `slack_enabled` scalar fields are always derived
        server-side from the per-event matrix for backward-compatibility with
        legacy client mappers.
      operationId: get_notification_preferences_v1_me_notifications_get
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/NotificationPreferences'
          description: Successful Response
      security:
        - HTTPBearer: []
components:
  schemas:
    NotificationPreferences:
      properties:
        digest_frequency:
          default: daily
          enum:
            - realtime
            - daily
            - weekly
            - never
          title: Digest Frequency
          type: string
        email_enabled:
          default: true
          title: Email Enabled
          type: boolean
        events:
          $ref: '#/components/schemas/NotificationEvents'
          default:
            high_confidence_prediction:
              email: true
              in_app: true
              slack: true
            issue_escalated_critical:
              email: true
              in_app: true
              slack: true
            member_invited:
              email: true
              in_app: true
              slack: false
            new_issue_ingested:
              email: true
              in_app: true
              slack: false
            new_prediction:
              email: false
              in_app: true
              slack: false
            pattern_confirmed:
              email: false
              in_app: true
              slack: false
            pattern_detected:
              email: false
              in_app: true
              slack: false
            recommendation_pushed:
              email: false
              in_app: true
              slack: false
            weekly_digest:
              email: true
              in_app: false
              slack: false
        min_risk_score_for_alert:
          default: 70
          maximum: 100
          minimum: 0
          title: Min Risk Score For Alert
          type: integer
        min_severity_for_alert:
          default: p2
          enum:
            - p1
            - p2
            - p3
            - p4
          title: Min Severity For Alert
          type: string
        notify_on_new_issue:
          default: true
          title: Notify On New Issue
          type: boolean
        notify_on_pattern_detected:
          default: true
          title: Notify On Pattern Detected
          type: boolean
        notify_on_prediction:
          default: true
          title: Notify On Prediction
          type: boolean
        notify_on_recommendation:
          default: true
          title: Notify On Recommendation
          type: boolean
        notify_on_report_ready:
          default: true
          title: Notify On Report Ready
          type: boolean
        pagerduty_enabled:
          default: false
          title: Pagerduty Enabled
          type: boolean
        quiet_hours:
          anyOf:
            - $ref: '#/components/schemas/QuietHours'
            - type: 'null'
        slack_enabled:
          default: false
          title: Slack Enabled
          type: boolean
        slack_webhook_url:
          anyOf:
            - type: string
            - type: 'null'
          title: Slack Webhook Url
        teams_enabled:
          default: false
          title: Teams Enabled
          type: boolean
        teams_webhook_url:
          anyOf:
            - type: string
            - type: 'null'
          title: Teams Webhook Url
        updated_at:
          title: Updated At
          type: string
        user_id:
          title: User Id
          type: string
      required:
        - user_id
        - updated_at
      title: NotificationPreferences
      type: object
    NotificationEvents:
      properties:
        high_confidence_prediction:
          $ref: '#/components/schemas/ChannelSet'
          default:
            email: true
            in_app: true
            slack: true
        issue_escalated_critical:
          $ref: '#/components/schemas/ChannelSet'
          default:
            email: true
            in_app: true
            slack: true
        member_invited:
          $ref: '#/components/schemas/ChannelSet'
          default:
            email: true
            in_app: true
            slack: false
        new_issue_ingested:
          $ref: '#/components/schemas/ChannelSet'
          default:
            email: true
            in_app: true
            slack: false
        new_prediction:
          $ref: '#/components/schemas/ChannelSet'
          default:
            email: false
            in_app: true
            slack: false
        pattern_confirmed:
          $ref: '#/components/schemas/ChannelSet'
          default:
            email: false
            in_app: true
            slack: false
        pattern_detected:
          $ref: '#/components/schemas/ChannelSet'
          default:
            email: false
            in_app: true
            slack: false
        recommendation_pushed:
          $ref: '#/components/schemas/ChannelSet'
          default:
            email: false
            in_app: true
            slack: false
        weekly_digest:
          $ref: '#/components/schemas/ChannelSet'
          default:
            email: true
            in_app: false
            slack: false
      title: NotificationEvents
      type: object
    QuietHours:
      properties:
        end:
          pattern: ^\d{2}:\d{2}$
          title: End
          type: string
        start:
          pattern: ^\d{2}:\d{2}$
          title: Start
          type: string
        timezone:
          title: Timezone
          type: string
      required:
        - start
        - end
        - timezone
      title: QuietHours
      type: object
    ChannelSet:
      properties:
        email:
          default: false
          title: Email
          type: boolean
        in_app:
          default: false
          title: In App
          type: boolean
        slack:
          default: false
          title: Slack
          type: boolean
      title: ChannelSet
      type: object
  securitySchemes:
    HTTPBearer:
      scheme: bearer
      type: http

````