Skip to main content

Create Notification Template

This creates a template for your site.

You can also use this endpoint to update a template. First, copy the response body from the get notification template endpoint for a template you wish to update and paste it into the request body for this endpoint. Modify the fields you want to change and submit the POST request when ready.

Request Body required
  • key string required
  • name string
  • medium string required

    Possible values: [EMAIL, PHONE, SMS, SLACK, TEAMS]

    The message medium. More mediums may be added in the future.

  • locale string required

    The locale for the message text, a BCP 47 language tag.

  • subject string
  • header string
  • body string
  • footer string
  • from string
  • replyTo string
  • description string
  • id string

    This is auto-generated.

  • created date-time

    The time when this template is created. This is auto-generated.

  • modified date-time

    The time when this template was last modified. This is auto-generated.

Responses

A template object for your site


Schema
  • key string
  • name string
  • medium string

    Possible values: [EMAIL, PHONE, SMS, SLACK, TEAMS]

    The message medium. More mediums may be added in the future.

  • locale string

    The locale for the message text, a BCP 47 language tag.

  • subject string
  • header string
  • body string
  • footer string
  • from string
  • replyTo string
  • description string
  • id string

    This is auto-generated.

  • created date-time

    The time when this template is created. This is auto-generated.

  • modified date-time

    The time when this template was last modified. This is auto-generated.

Loading...