Templates
Reusable content with variables, versioned so a deploy cannot change what is already going out.
List templates
List the templates in this workspace, newest first.
Create a template
Create a template and, unless publish is false, publish its first version.
Render a template
Render a stored template or an inline body against sample data, without sending anything.
Get a template
Retrieve a template. Returns the draft content unless a version is given.
Update a template draft
Update the draft. The draft is not used for sending until it is published.
Archive a template
Archive a template. Past messages that used it stay explicable, and it can no longer be sent with.
List template versions
List the immutable versions of a template, newest first.
Publish a template version
Freeze the current draft as a new immutable version, and publish it unless publish is false.
Get a template version
Retrieve one immutable version, including its content.
Publish an existing version
Point the template at an existing version. This is how a rollback is done.