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

# Get notification matrix

> Returns the full notification matrix: channel preferences + per-event rules.



## OpenAPI

````yaml https://api.surnex.io/openapi.json get /v1/organizations/{org_id}/notifications/matrix
openapi: 3.1.0
info:
  title: Surnex API
  description: |-
    Surnex SEO Platform API — api.surnex.io

    Provides the complete backend for the Surnex SEO dashboard including:
    - Multi-tenant organization management
    - Project tracking (domains)
    - Keyword rank tracking (Phase 1+)
    - Backlink analysis (Phase 3+)
    - Site auditing (Phase 4+)
    - Stripe billing integration
    - MCP endpoint for AI agents at /mcp
  version: 0.1.0
servers: []
security: []
paths:
  /v1/organizations/{org_id}/notifications/matrix:
    get:
      tags:
        - Notifications
      summary: Get notification matrix
      description: >-
        Returns the full notification matrix: channel preferences + per-event
        rules.
      operationId: >-
        get_notification_matrix_v1_organizations__org_id__notifications_matrix_get
      parameters:
        - name: org_id
          in: path
          required: true
          schema:
            type: string
            format: uuid
            title: Org Id
        - name: X-API-Key
          in: header
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            title: X-Api-Key
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/APIResponse_NotificationMatrixResponse_'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
        - HTTPBearer: []
components:
  schemas:
    APIResponse_NotificationMatrixResponse_:
      properties:
        success:
          type: boolean
          title: Success
          default: true
        data:
          anyOf:
            - $ref: '#/components/schemas/NotificationMatrixResponse'
            - type: 'null'
      type: object
      title: APIResponse[NotificationMatrixResponse]
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    NotificationMatrixResponse:
      properties:
        channels:
          items:
            $ref: '#/components/schemas/NotificationPreferenceResponse'
          type: array
          title: Channels
        rules:
          items:
            $ref: '#/components/schemas/NotificationRuleResponse'
          type: array
          title: Rules
      type: object
      required:
        - channels
        - rules
      title: NotificationMatrixResponse
      description: Combined response for the notification matrix view.
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError
    NotificationPreferenceResponse:
      properties:
        id:
          type: string
          format: uuid
          title: Id
        org_id:
          type: string
          format: uuid
          title: Org Id
        channel:
          type: string
          title: Channel
        enabled:
          type: boolean
          title: Enabled
        config:
          additionalProperties:
            type: string
          type: object
          title: Config
        created_at:
          type: string
          format: date-time
          title: Created At
        updated_at:
          type: string
          format: date-time
          title: Updated At
      type: object
      required:
        - id
        - org_id
        - channel
        - enabled
        - config
        - created_at
        - updated_at
      title: NotificationPreferenceResponse
      description: Response schema for a notification preference.
    NotificationRuleResponse:
      properties:
        id:
          type: string
          format: uuid
          title: Id
        org_id:
          type: string
          format: uuid
          title: Org Id
        event:
          type: string
          title: Event
        channel:
          type: string
          title: Channel
        enabled:
          type: boolean
          title: Enabled
        created_at:
          type: string
          format: date-time
          title: Created At
        updated_at:
          type: string
          format: date-time
          title: Updated At
      type: object
      required:
        - id
        - org_id
        - event
        - channel
        - enabled
        - created_at
        - updated_at
      title: NotificationRuleResponse
      description: Response schema for a notification rule.
  securitySchemes:
    HTTPBearer:
      type: http
      scheme: bearer

````