Journeys

Fetch a journey-scoped notification template by id

Changed on

Returns a journey's own notification template with its name, brand, subscription topic, and content. Defaults to the published version.

get/journeys/{templateId}/templates/{notificationId}

Request

Path parameters

templateIdstring required

Journey id

notificationIdstring required

Notification template id

Response

Notification template

namestring required
tagsstring[] required
idstring required
state'DRAFT' | 'PUBLISHED' required
createdinteger required
creatorstring required
updatedinteger
updaterstring

Example response

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

Changes

    • breaking

      added subschema #1 subschema #3 subschema #7 to the // response property oneOf list for the response status

    • info

      removed subschema #1 subschema #3 subschema #7 from the // response property oneOf list for the response status

    • breaking

      added subschema #4 subschema #5 to the // response property oneOf list for the response status

    • info

      removed subschema #4 subschema #5 from the // response property oneOf list for the response status