Journeys
Fetch a journey-scoped notification template by id
Changed onReturns 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
- Base URLhttps://api.courier.com
- AuthHTTP bearer
- TypeScripthttps://skmtc.dev/trycourier/apis/courier/docs/journeys/:templateId/templates/:notificationId/get.tsA function with typed inputs. Its response is checked against the schema.
Path parameters
templateIdstring required
Journey id
notificationIdstring required
Notification template id
Response
Notification template
Example response
{
"content": {
"elements": [
{
"channel": "email"
}
]
}
}Changes
- breaking
added
subschema #1subschema #3subschema #7to the//response propertyoneOflist for the response status - info
removed
subschema #1subschema #3subschema #7from the//response propertyoneOflist for the response status
- breaking
- breaking
added
subschema #4subschema #5to the//response propertyoneOflist for the response status - info
removed
subschema #4subschema #5from the//response propertyoneOflist for the response status
- breaking