Notification Templates

Put Notification Content

Replace the elemental content of a notification template. Overwrites all elements in the template with the provided content. Only supported for V2 (elemental) templates.

put/notifications/{id}/content

Path parameters

idstring required

Notification template ID (nt_ prefix).

Request body

state'DRAFT' | 'PUBLISHED'

Template state. Defaults to DRAFT.

Example request

{
  "content": {
    "elements": [
      {
        "channel": "email"
      }
    ]
  }
}

Response

Content replaced.

idstring required

Template ID.

versionstring required

Content version identifier.

state'DRAFT' | 'PUBLISHED' required

Template state. Defaults to DRAFT.

Changes