Journeys

Replace the content of a journey-scoped notification template

Replace the elemental content of a journey-scoped notification template. Overwrites all elements in the template draft with the provided content.

put/journeys/{templateId}/templates/{notificationId}/content

Path parameters

templateIdstring required

Journey id

notificationIdstring required

Notification template id

Request body

state'DRAFT' | 'PUBLISHED'

Template state. Defaults to DRAFT.

Example request

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

Response

Updated scoped notification content

idstring required

Template ID.

versionstring required

Content version identifier.

state'DRAFT' | 'PUBLISHED' required

Template state. Defaults to DRAFT.

Changes

Changed in 3 of the 55 revisions of this API.23

  • cb858603415811See the full diff
    • removed subschema #1 subschema #3 subschema #7 from the content/elements/items/ request property oneOf list

      request-property-one-of-removed

    • added subschema #1 subschema #3 subschema #7 to the content/elements/items/ request property oneOf list

      request-property-one-of-added

  • d2377425a72911See the full diff
    • removed subschema #4 subschema #5 from the content/elements/items/ request property oneOf list

      request-property-one-of-removed

    • added subschema #4 subschema #5 to the content/elements/items/ request property oneOf list

      request-property-one-of-added

    • endpoint added

      endpoint-added