Notification Templates

Replace Notification Template

Replace a notification template. All fields are required.

put/notifications/{id}

Path parameters

idstring required

Template ID (nt_ prefix).

Request body

state'DRAFT' | 'PUBLISHED'

Template state after update. Case-insensitive input, normalized to uppercase in the response. Defaults to "DRAFT".

Example request

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

Response

state'DRAFT' | 'PUBLISHED' required

The template state after the operation. Always uppercase.

Changes