Notification Templates

Put Notification Element

Update a single element within a notification template. Only supported for V2 (elemental) templates.

put/notifications/{id}/elements/{elementId}

Path parameters

idstring required

Notification template ID (nt_ prefix).

elementIdstring required

Element ID within the template.

Request body

typestring required

Element type (text, meta, action, image, etc.).

channelsstring[]
dataobject
ifstring
loopstring
refstring
state'DRAFT' | 'PUBLISHED'

Template state. Defaults to DRAFT.

Response

Element updated.

idstring required

Template ID.

versionstring required

Content version identifier.

state'DRAFT' | 'PUBLISHED' required

Template state. Defaults to DRAFT.

Changes