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

# Who has asked to hear about what, and on which channel.



## OpenAPI

````yaml /api-reference/openapi.json get /notification_subscriptions
openapi: 3.0.0
info:
  description: ''
  title: >-
    The only schema PostgREST exposes (ADR-014). Reads are security_invoker
    views; writes are SECURITY DEFINER functions. Rebuilt wholesale on every
    deploy — it holds no data.
  version: 12.2.3
servers:
  - url: https://app.assetinfinity.ai/api
security: []
tags:
  - name: Signing in
  - name: Profile
  - name: Assets
  - name: Asset lifecycle
  - name: Work lifecycle
  - name: Maintenance
  - name: Inventory
  - name: Inventory detail
  - name: Procurement
  - name: Contracts
  - name: Workforce
  - name: Capacity
  - name: Dispatch
  - name: Routing
  - name: Tools
  - name: Inspections
  - name: Verification
  - name: Reliability
  - name: Parts demand
  - name: Sensors and meters
  - name: Map
  - name: Floor plans
  - name: Labels
  - name: Lost and found
  - name: Root cause analysis
  - name: Reports
  - name: Audit center
  - name: Activity
  - name: Notifications
  - name: Channels
  - name: Search
  - name: Copilot
  - name: Import
  - name: Files
  - name: Sync
  - name: Support
  - name: Admin
  - name: Access
  - name: Lookups
  - name: Read models
  - name: Branding
  - name: Custom fields
  - name: Form studio
  - name: Workflows
  - name: Workflow studio
  - name: Rules
  - name: Statuses and transitions
  - name: Currencies and locales
  - name: Work configuration
  - name: Asset configuration
  - name: Inventory configuration
  - name: Tool configuration
  - name: Workforce configuration
  - name: Vendor and contract configuration
  - name: Document configuration
  - name: Inspection configuration
  - name: Sites, locations and the organisation
  - name: Platform
  - name: Self verification
  - name: Setup
  - name: Tools on a job, and who has them out
  - name: Vendors and contracts
  - name: Work order execution
  - name: Workforce detail
externalDocs:
  description: PostgREST Documentation
  url: https://postgrest.org/en/v12/references/api.html
paths:
  /notification_subscriptions:
    get:
      tags:
        - Notifications
      summary: Who has asked to hear about what, and on which channel.
      parameters:
        - $ref: '#/components/parameters/rowFilter.notification_subscriptions.id'
        - $ref: >-
            #/components/parameters/rowFilter.notification_subscriptions.event_type
        - $ref: '#/components/parameters/rowFilter.notification_subscriptions.channel'
        - $ref: >-
            #/components/parameters/rowFilter.notification_subscriptions.target_type
        - $ref: '#/components/parameters/rowFilter.notification_subscriptions.role_id'
        - $ref: >-
            #/components/parameters/rowFilter.notification_subscriptions.role_code
        - $ref: '#/components/parameters/rowFilter.notification_subscriptions.user_id'
        - $ref: >-
            #/components/parameters/rowFilter.notification_subscriptions.user_name
        - $ref: '#/components/parameters/rowFilter.notification_subscriptions.site_id'
        - $ref: >-
            #/components/parameters/rowFilter.notification_subscriptions.site_code
        - $ref: >-
            #/components/parameters/rowFilter.notification_subscriptions.minimum_severity
        - $ref: >-
            #/components/parameters/rowFilter.notification_subscriptions.is_enabled
        - $ref: >-
            #/components/parameters/rowFilter.notification_subscriptions.quiet_hours_from
        - $ref: >-
            #/components/parameters/rowFilter.notification_subscriptions.quiet_hours_to
        - $ref: >-
            #/components/parameters/rowFilter.notification_subscriptions.has_template
        - $ref: >-
            #/components/parameters/rowFilter.notification_subscriptions.row_version
        - $ref: '#/components/parameters/select'
        - $ref: '#/components/parameters/order'
        - $ref: '#/components/parameters/range'
        - $ref: '#/components/parameters/rangeUnit'
        - $ref: '#/components/parameters/offset'
        - $ref: '#/components/parameters/limit'
        - $ref: '#/components/parameters/preferCount'
      responses:
        '200':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/notification_subscriptions'
                type: array
            application/vnd.pgrst.object+json:
              schema:
                items:
                  $ref: '#/components/schemas/notification_subscriptions'
                type: array
            application/vnd.pgrst.object+json;nulls=stripped:
              schema:
                items:
                  $ref: '#/components/schemas/notification_subscriptions'
                type: array
            text/csv:
              schema:
                items:
                  $ref: '#/components/schemas/notification_subscriptions'
                type: array
          description: OK
        '206':
          description: Partial Content
components:
  parameters:
    rowFilter.notification_subscriptions.id:
      in: query
      name: id
      required: false
      schema:
        type: string
    rowFilter.notification_subscriptions.event_type:
      in: query
      name: event_type
      required: false
      schema:
        type: string
    rowFilter.notification_subscriptions.channel:
      in: query
      name: channel
      required: false
      schema:
        type: string
    rowFilter.notification_subscriptions.target_type:
      in: query
      name: target_type
      required: false
      schema:
        type: string
    rowFilter.notification_subscriptions.role_id:
      in: query
      name: role_id
      required: false
      schema:
        type: string
    rowFilter.notification_subscriptions.role_code:
      in: query
      name: role_code
      required: false
      schema:
        type: string
    rowFilter.notification_subscriptions.user_id:
      in: query
      name: user_id
      required: false
      schema:
        type: string
    rowFilter.notification_subscriptions.user_name:
      in: query
      name: user_name
      required: false
      schema:
        type: string
    rowFilter.notification_subscriptions.site_id:
      in: query
      name: site_id
      required: false
      schema:
        type: string
    rowFilter.notification_subscriptions.site_code:
      in: query
      name: site_code
      required: false
      schema:
        type: string
    rowFilter.notification_subscriptions.minimum_severity:
      in: query
      name: minimum_severity
      required: false
      schema:
        type: string
    rowFilter.notification_subscriptions.is_enabled:
      in: query
      name: is_enabled
      required: false
      schema:
        type: string
    rowFilter.notification_subscriptions.quiet_hours_from:
      in: query
      name: quiet_hours_from
      required: false
      schema:
        type: string
    rowFilter.notification_subscriptions.quiet_hours_to:
      in: query
      name: quiet_hours_to
      required: false
      schema:
        type: string
    rowFilter.notification_subscriptions.has_template:
      in: query
      name: has_template
      required: false
      schema:
        type: string
    rowFilter.notification_subscriptions.row_version:
      in: query
      name: row_version
      required: false
      schema:
        type: string
    select:
      description: Filtering Columns
      in: query
      name: select
      required: false
      schema:
        type: string
    order:
      description: Ordering
      in: query
      name: order
      required: false
      schema:
        type: string
    range:
      description: Limiting and Pagination
      in: header
      name: Range
      required: false
      schema:
        type: string
    rangeUnit:
      description: Limiting and Pagination
      in: header
      name: Range-Unit
      required: false
      schema:
        default: items
        type: string
    offset:
      description: Limiting and Pagination
      in: query
      name: offset
      required: false
      schema:
        type: string
    limit:
      description: Limiting and Pagination
      in: query
      name: limit
      required: false
      schema:
        type: string
    preferCount:
      description: Preference
      in: header
      name: Prefer
      required: false
      schema:
        enum:
          - count=none
        type: string
  schemas:
    notification_subscriptions:
      description: Who has asked to hear about what, and on which channel.
      properties:
        channel:
          format: character varying
          maxLength: 20
          type: string
        event_type:
          format: character varying
          maxLength: 80
          type: string
        has_template:
          format: boolean
          type: boolean
        id:
          description: |-
            Note:
            This is a Primary Key.<pk/>
          format: uuid
          type: string
        is_enabled:
          format: boolean
          type: boolean
        minimum_severity:
          format: character varying
          maxLength: 20
          type: string
        quiet_hours_from:
          format: time without time zone
          type: string
        quiet_hours_to:
          format: time without time zone
          type: string
        role_code:
          format: character varying
          maxLength: 60
          type: string
        role_id:
          description: >-
            Note:

            This is a Foreign Key to `role_settings.id`.<fk
            table='role_settings' column='id'/>
          format: uuid
          type: string
        row_version:
          format: bigint
          type: integer
        site_code:
          format: character varying
          maxLength: 50
          type: string
        site_id:
          description: >-
            Note:

            This is a Foreign Key to `site_settings.id`.<fk
            table='site_settings' column='id'/>
          format: uuid
          type: string
        target_type:
          format: character varying
          maxLength: 20
          type: string
        user_id:
          description: >-
            Note:

            This is a Foreign Key to `my_profile.user_id`.<fk table='my_profile'
            column='user_id'/>
          format: uuid
          type: string
        user_name:
          format: character varying
          maxLength: 200
          type: string
      type: object

````

## Related topics

- [Notifications](/config/notifications.md)
- [Rules](/config/rules.md)
- [Ways to sign in](/setup/sign-in-methods.md)
- [Approvals](/work/approvals.md)
- [Core concepts](/core-concepts.md)
