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

# List Notification Preferences

> Active, non-deleted notification preference records, newest first unless `orderBy` says otherwise. Requires `notification-preference:find-all`.



## OpenAPI

````yaml GET /notification/preference
openapi: 3.0.1
info:
  title: Notification Preference API
  description: >
    Notification preferences (`notification_preference`): a user's override for
    one channel and category. Without a row a channel is enabled; `payment`,
    `system` and `transactional` cannot be opted out of. The `/me` routes act on
    the authenticated user.


    List paging and sorting read the camelCase keys `pageSize`,
    `maxPageSizeOverride` and `orderBy`. Every route requires the
    `notification-preference:<action>` permission named in its description.
  version: '2026-10-21'
servers:
  - description: Production
    url: https://api.bbrands.io/api/v3
  - description: Certification
    url: https://certification.api.bbrands.io/api/v3
  - description: Development
    url: https://development.api.bbrands.io/api/v3
security:
  - bearerAuth: []
  - apiKeyAuth: []
tags:
  - name: Notification Preference
    description: Per-user opt-out overrides by channel and category.
paths:
  /notification/preference:
    get:
      tags:
        - Notification Preference
      summary: List Notification preferences
      description: >-
        Active, non-deleted notification preference records, newest first unless
        `orderBy` says otherwise. Requires `notification-preference:find-all`.
      operationId: notificationPreferenceFindAll
      parameters:
        - $ref: '#/components/parameters/Fields'
        - $ref: '#/components/parameters/Filters'
        - $ref: '#/components/parameters/OrderBy'
        - $ref: '#/components/parameters/Page'
        - $ref: '#/components/parameters/PageSize'
        - $ref: '#/components/parameters/MaxPageSizeOverride'
        - $ref: '#/components/parameters/Populate'
      responses:
        '200':
          description: Notification preference records
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type: array
                    items:
                      $ref: '#/components/schemas/NotificationPreference'
                  message:
                    type: string
                  meta:
                    $ref: '#/components/schemas/Meta'
                  paging:
                    $ref: '#/components/schemas/Paging'
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
        '429':
          $ref: '#/components/responses/TooManyRequests'
components:
  parameters:
    Fields:
      name: fields
      in: query
      description: Comma-separated list of columns to return.
      schema:
        type: string
    Filters:
      name: filters
      in: query
      description: >-
        `field|operator|value` conditions separated by commas. Operators: eq,
        neq, gt, gte, lt, lte, like, ilike, in, is.
      schema:
        type: string
      example: is_actived|eq|true
    OrderBy:
      name: orderBy
      in: query
      description: '`field:asc|desc` pairs separated by commas.'
      schema:
        type: string
      example: created_at:desc
    Page:
      name: page
      in: query
      description: 1-based page; when sent the answer is paginated and carries `paging`.
      schema:
        type: integer
        minimum: 1
    PageSize:
      name: pageSize
      in: query
      description: Rows per page when `page` is sent.
      schema:
        type: integer
        minimum: 1
        default: 20
    MaxPageSizeOverride:
      name: maxPageSizeOverride
      in: query
      description: Raises the page size cap (1000 by default).
      schema:
        type: integer
        minimum: 1
    Populate:
      name: populate
      in: query
      description: Whether to expand foreign keys into nested objects.
      schema:
        type: boolean
        default: true
  schemas:
    NotificationPreference:
      type: object
      properties:
        document_id:
          type: string
          format: uuid
        category:
          type: string
          enum:
            - marketing
            - payment
            - system
            - transactional
        channel:
          type: string
          enum:
            - email
            - in_app
            - live_activity
            - push
            - sms
        is_enabled:
          type: boolean
        user:
          type: string
          format: uuid
          description: >-
            Related record id; with `populate` (the default) the related record
            is embedded instead.
        is_actived:
          type: boolean
        is_deleted:
          type: boolean
        created_at:
          type: string
          format: date-time
        updated_at:
          type: string
          format: date-time
          nullable: true
        deleted_at:
          type: string
          format: date-time
          nullable: true
    Meta:
      type: object
      properties:
        correlation:
          type: string
          description: Request correlation id; quote it when reporting an issue.
        status:
          type: integer
        timestamp:
          type: string
          format: date-time
        version:
          type: string
          nullable: true
    Paging:
      type: object
      properties:
        page:
          type: integer
        page_size:
          type: integer
        total:
          type: integer
        total_pages:
          type: integer
    ErrorResponse:
      type: object
      properties:
        error:
          type: object
          properties:
            code:
              type: string
              description: Machine-readable error code.
            errors:
              type: array
              items: {}
            message:
              type: string
        meta:
          $ref: '#/components/schemas/Meta'
  responses:
    BadRequest:
      description: Validation error
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
    Unauthorized:
      description: Missing, invalid, revoked or expired credentials
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
    Forbidden:
      description: The caller lacks the required permission
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
    TooManyRequests:
      description: Rate limit exceeded
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
      headers:
        Retry-After:
          description: Seconds until a request is allowed again.
          schema:
            type: integer
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT
    apiKeyAuth:
      type: apiKey
      in: header
      name: x-api-key
      description: A `secret` API key, `hzk_<env>_<prefix>_<secret>`.

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.