Templates
Put Notification Content
Changed onReplaces all Elemental content in a template, overwriting every existing element. Supported for V2 templates only, not V1 blocks and channels.
put/notifications/{id}/content
Request
- Base URLhttps://api.courier.com
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
idstring required
Notification template ID (nt_ prefix).
Request body
Example request
{
"content": {
"elements": [
{
"channel": "email"
}
]
}
}Response
Content replaced.
Changes
- breaking
removed
subschema #1subschema #3subschema #7from the//request propertyoneOflist - info
added
subschema #1subschema #3subschema #7to the//request propertyoneOflist
- breaking
- info
api tag
Templatesadded - info
api tag
Notification Templatesremoved
- info