Templates
Duplicate Notification Template
Changed onCopies a notification template within the same workspace and environment, appending " COPY" to the title. The copy is standalone and independently editable.
post/notifications/{id}/duplicate
Request
- Base URLhttps://api.courier.com
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
idstring required
Template ID (nt_ prefix).
Response
The newly created template copy.
Example response
{
"content": {
"elements": [
{
"channel": "email"
}
]
}
}Changes
- breaking
added
subschema #1subschema #3subschema #7to the///response propertyoneOflist for the response status - info
added
subschema #2: NotificationTemplateResponseFieldsto the response bodyallOflist for the response status - info
removed
subschema #2from the response bodyallOflist for the response status - info
removed
subschema #1subschema #3subschema #7from the///response propertyoneOflist for the response status
- breaking
- info
api tag
Templatesadded - info
api tag
Notification Templatesremoved
- info