---
title: "create one or multiple defaultNotificationTemplates"
method: POST
path: "/api/servicepulse/defaultNotificationTemplates"
tags: ["defaultNotificationTemplates"]
---

# create one or multiple defaultNotificationTemplates

`POST /api/servicepulse/defaultNotificationTemplates`

## Request

- Base URL: `https://services.fountain.com`
- URL: `https://services.fountain.com/api/servicepulse/defaultNotificationTemplates`
- Auth: HTTP bearer

Create one or multiple defaultNotificationTemplates

## Request body

- union
  - DefaultNotificationTemplate
    - `uuid` string, uuid
    - `createdAt` string, date-time
    - `createdBy` string, uuid
    - `lastUpdatedAt` string, date-time
    - `lastUpdatedBy` string, uuid
    - `lastUpdatedByAudience` string
    - `lastUpdatedByAudienceUuid` string, uuid
    - `lastUpdatedByImpersonatedBy` string, uuid
    - `lastUpdatedByCompanyUuid` string, uuid
    - `lastUpdatedByEnterpriseUuid` string, uuid
    - `companyUuid` string, uuid, required
    - `campaignTemplateUuid` string, uuid
    - `enabled` boolean
    - `reminderLimit` number
    - `mode` 'EmailV1' | 'SmsV1', required
    - `notificationCategory` 'activation' | 'deadline' | 'nudgeIncomplete' | 'nudgeNonRespondants' | 'reminder', required
    - `recurringEnabled` boolean
    - `recurringIntervalDays` number
    - `sendDaysAfter` number
    - `sendDaysBefore` number
    - `virtualCampaignTemplate` object
      - `uuid` string, uuid
      - `companyUuid` string, uuid
      - `title` string
      - `subject` string
      - `body` object, required
        - `html` string, required
        - `plainText` string, required
  - DefaultNotificationTemplate[]
    - `uuid` string, uuid
    - `createdAt` string, date-time
    - `createdBy` string, uuid
    - `lastUpdatedAt` string, date-time
    - `lastUpdatedBy` string, uuid
    - `lastUpdatedByAudience` string
    - `lastUpdatedByAudienceUuid` string, uuid
    - `lastUpdatedByImpersonatedBy` string, uuid
    - `lastUpdatedByCompanyUuid` string, uuid
    - `lastUpdatedByEnterpriseUuid` string, uuid
    - `companyUuid` string, uuid, required
    - `campaignTemplateUuid` string, uuid
    - `enabled` boolean
    - `reminderLimit` number
    - `mode` 'EmailV1' | 'SmsV1', required
    - `notificationCategory` 'activation' | 'deadline' | 'nudgeIncomplete' | 'nudgeNonRespondants' | 'reminder', required
    - `recurringEnabled` boolean
    - `recurringIntervalDays` number
    - `sendDaysAfter` number
    - `sendDaysBefore` number
    - `virtualCampaignTemplate` object
      - `uuid` string, uuid
      - `companyUuid` string, uuid
      - `title` string
      - `subject` string
      - `body` object, required
        - `html` string, required
        - `plainText` string, required

## Response `201`

One or many defaultNotificationTemplate documents created. Wrapped in a JsonAPI root response.

- object
  - `data` union
    - DefaultNotificationTemplate
      - `uuid` string, uuid
      - `createdAt` string, date-time
      - `createdBy` string, uuid
      - `lastUpdatedAt` string, date-time
      - `lastUpdatedBy` string, uuid
      - `lastUpdatedByAudience` string
      - `lastUpdatedByAudienceUuid` string, uuid
      - `lastUpdatedByImpersonatedBy` string, uuid
      - `lastUpdatedByCompanyUuid` string, uuid
      - `lastUpdatedByEnterpriseUuid` string, uuid
      - `companyUuid` string, uuid, required
      - `campaignTemplateUuid` string, uuid
      - `enabled` boolean
      - `reminderLimit` number
      - `mode` 'EmailV1' | 'SmsV1', required
      - `notificationCategory` 'activation' | 'deadline' | 'nudgeIncomplete' | 'nudgeNonRespondants' | 'reminder', required
      - `recurringEnabled` boolean
      - `recurringIntervalDays` number
      - `sendDaysAfter` number
      - `sendDaysBefore` number
      - `virtualCampaignTemplate` object
        - `uuid` string, uuid
        - `companyUuid` string, uuid
        - `title` string
        - `subject` string
        - `body` object, required
          - `html` string, required
          - `plainText` string, required
    - DefaultNotificationTemplate[]
      - `uuid` string, uuid
      - `createdAt` string, date-time
      - `createdBy` string, uuid
      - `lastUpdatedAt` string, date-time
      - `lastUpdatedBy` string, uuid
      - `lastUpdatedByAudience` string
      - `lastUpdatedByAudienceUuid` string, uuid
      - `lastUpdatedByImpersonatedBy` string, uuid
      - `lastUpdatedByCompanyUuid` string, uuid
      - `lastUpdatedByEnterpriseUuid` string, uuid
      - `companyUuid` string, uuid, required
      - `campaignTemplateUuid` string, uuid
      - `enabled` boolean
      - `reminderLimit` number
      - `mode` 'EmailV1' | 'SmsV1', required
      - `notificationCategory` 'activation' | 'deadline' | 'nudgeIncomplete' | 'nudgeNonRespondants' | 'reminder', required
      - `recurringEnabled` boolean
      - `recurringIntervalDays` number
      - `sendDaysAfter` number
      - `sendDaysBefore` number
      - `virtualCampaignTemplate` object
        - `uuid` string, uuid
        - `companyUuid` string, uuid
        - `title` string
        - `subject` string
        - `body` object, required
          - `html` string, required
          - `plainText` string, required
  - `meta` ResponsesPartMeta
    - `timestamp` string, date-time, required
    - `verb` 'OPTION' | 'GET' | 'PUT' | 'POST' | 'PATCH' | 'DELETE'
    - `path` string
    - `jti` string
    - `rid` string
    - `count` number
    - `capped` boolean: The server lowered filter[limit] to its ceiling. Page with filter[skip] to read past it.
    - `status` string
    - `duration` number
    - `size` number

## Other responses

- `500`: default error response

---

[API](https://skmtc.dev/fountain/apis/worker-experience-public-api.md) - [All operations](https://skmtc.dev/fountain/apis/worker-experience-public-api/llms.txt) - [OpenAPI document](https://skmtc.dev/fountain/apis/worker-experience-public-api/revisions/6b9a31f79e22?raw)
