Journeys

Replace the content of a journey-scoped notification template

Changed on

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

Request

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

    • breaking

      removed subschema #1 subschema #3 subschema #7 from the // request property oneOf list

    • info

      added subschema #1 subschema #3 subschema #7 to the // request property oneOf list

    • breaking

      removed subschema #4 subschema #5 from the // request property oneOf list

    • info

      added subschema #4 subschema #5 to the // request property oneOf list