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

# Get notification preferences

> List a connection's notification preferences, ordered by event type then channel. The path segment is named `clientId` for back-compat — it is the connection id.



## OpenAPI

````yaml /api-reference/openapi.json get /notifications/preferences/{clientId}
openapi: 3.0.3
info:
  title: FileFeed API
  version: '2026-05-25'
  description: >-
    Official FileFeed REST API for connections, pipelines, schemas, pipeline
    runs, webhooks, outbound uploads, documents, files, and notifications.
    Date-based API versioning is controlled by the `FileFeed-Version` request
    header (default `2024-09-01`; latest `2026-05-25`); this document describes
    the `2026-05-25` shape.
servers:
  - url: https://api.sftpsync.io
security:
  - ApiKeyAuth: []
tags:
  - name: Connections
  - name: Pipelines
  - name: Schemas
  - name: Pipeline Runs
  - name: Webhooks
  - name: Outbound Uploads
  - name: Documents
  - name: Files
  - name: Notifications
  - name: Clients (deprecated)
paths:
  /notifications/preferences/{clientId}:
    get:
      tags:
        - Notifications
      summary: Get notification preferences
      description: >-
        List a connection's notification preferences, ordered by event type then
        channel. The path segment is named `clientId` for back-compat — it is
        the connection id.
      parameters:
        - name: clientId
          in: path
          required: true
          schema:
            type: string
          description: Connection id.
      responses:
        '200':
          description: Preferences
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/NotificationPreference'
components:
  schemas:
    NotificationPreference:
      type: object
      description: >-
        A stored per-connection notification preference. The connection FK is
        named `clientId` on the wire (the v1 term).
      properties:
        id:
          type: string
        workspaceId:
          type: string
        clientId:
          type: string
          description: The connection this preference is scoped to.
        eventType:
          type: string
          enum:
            - PIPELINE_RUN_FAILED
            - PIPELINE_RUN_SUCCEEDED
        channel:
          type: string
          enum:
            - EMAIL
            - SLACK
            - SMS
        isEnabled:
          type: boolean
        recipients:
          type: array
          items:
            type: string
        metadata:
          type: object
          additionalProperties: true
          nullable: true
        createdAt:
          type: string
          format: date-time
        updatedAt:
          type: string
          format: date-time
      required:
        - id
        - clientId
        - eventType
        - channel
        - isEnabled
        - recipients
        - createdAt
        - updatedAt
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: x-api-key

````