> ## 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.

# The templates each event renders through, per channel.



## OpenAPI

````yaml /api-reference/openapi.json get /notification_templates
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_templates:
    get:
      tags:
        - Notifications
      summary: The templates each event renders through, per channel.
      parameters:
        - $ref: '#/components/parameters/rowFilter.notification_templates.id'
        - $ref: '#/components/parameters/rowFilter.notification_templates.code'
        - $ref: '#/components/parameters/rowFilter.notification_templates.name'
        - $ref: '#/components/parameters/rowFilter.notification_templates.event_type'
        - $ref: '#/components/parameters/rowFilter.notification_templates.channel'
        - $ref: '#/components/parameters/rowFilter.notification_templates.locale_id'
        - $ref: '#/components/parameters/rowFilter.notification_templates.locale'
        - $ref: >-
            #/components/parameters/rowFilter.notification_templates.subject_template
        - $ref: >-
            #/components/parameters/rowFilter.notification_templates.body_template
        - $ref: >-
            #/components/parameters/rowFilter.notification_templates.action_url_template
        - $ref: '#/components/parameters/rowFilter.notification_templates.status'
        - $ref: >-
            #/components/parameters/rowFilter.notification_templates.version_number
        - $ref: '#/components/parameters/rowFilter.notification_templates.is_critical'
        - $ref: >-
            #/components/parameters/rowFilter.notification_templates.published_at
        - $ref: >-
            #/components/parameters/rowFilter.notification_templates.has_subscribers
        - $ref: '#/components/parameters/rowFilter.notification_templates.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_templates'
                type: array
            application/vnd.pgrst.object+json:
              schema:
                items:
                  $ref: '#/components/schemas/notification_templates'
                type: array
            application/vnd.pgrst.object+json;nulls=stripped:
              schema:
                items:
                  $ref: '#/components/schemas/notification_templates'
                type: array
            text/csv:
              schema:
                items:
                  $ref: '#/components/schemas/notification_templates'
                type: array
          description: OK
        '206':
          description: Partial Content
components:
  parameters:
    rowFilter.notification_templates.id:
      in: query
      name: id
      required: false
      schema:
        type: string
    rowFilter.notification_templates.code:
      in: query
      name: code
      required: false
      schema:
        type: string
    rowFilter.notification_templates.name:
      in: query
      name: name
      required: false
      schema:
        type: string
    rowFilter.notification_templates.event_type:
      in: query
      name: event_type
      required: false
      schema:
        type: string
    rowFilter.notification_templates.channel:
      in: query
      name: channel
      required: false
      schema:
        type: string
    rowFilter.notification_templates.locale_id:
      in: query
      name: locale_id
      required: false
      schema:
        type: string
    rowFilter.notification_templates.locale:
      in: query
      name: locale
      required: false
      schema:
        type: string
    rowFilter.notification_templates.subject_template:
      in: query
      name: subject_template
      required: false
      schema:
        type: string
    rowFilter.notification_templates.body_template:
      in: query
      name: body_template
      required: false
      schema:
        type: string
    rowFilter.notification_templates.action_url_template:
      in: query
      name: action_url_template
      required: false
      schema:
        type: string
    rowFilter.notification_templates.status:
      in: query
      name: status
      required: false
      schema:
        type: string
    rowFilter.notification_templates.version_number:
      in: query
      name: version_number
      required: false
      schema:
        type: string
    rowFilter.notification_templates.is_critical:
      in: query
      name: is_critical
      required: false
      schema:
        type: string
    rowFilter.notification_templates.published_at:
      in: query
      name: published_at
      required: false
      schema:
        type: string
    rowFilter.notification_templates.has_subscribers:
      in: query
      name: has_subscribers
      required: false
      schema:
        type: string
    rowFilter.notification_templates.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_templates:
      description: The templates each event renders through, per channel.
      properties:
        action_url_template:
          format: text
          type: string
        body_template:
          format: text
          type: string
        channel:
          format: character varying
          maxLength: 20
          type: string
        code:
          format: character varying
          maxLength: 80
          type: string
        event_type:
          format: character varying
          maxLength: 80
          type: string
        has_subscribers:
          format: boolean
          type: boolean
        id:
          description: |-
            Note:
            This is a Primary Key.<pk/>
          format: uuid
          type: string
        is_critical:
          format: boolean
          type: boolean
        locale:
          format: character varying
          maxLength: 20
          type: string
        locale_id:
          format: uuid
          type: string
        name:
          format: character varying
          maxLength: 150
          type: string
        published_at:
          format: timestamp with time zone
          type: string
        row_version:
          format: bigint
          type: integer
        status:
          format: character varying
          maxLength: 20
          type: string
        subject_template:
          format: text
          type: string
        version_number:
          format: integer
          type: integer
      type: object

````

## Related topics

- [Notifications](/config/notifications.md)
- [Sensors and condition alerts](/assets/sensors.md)
- [Inspections](/maintenance/inspections.md)
- [Work settings](/config/work.md)
- [Work requests](/work/requests.md)
