v2
latestOpenAPI 3.1.12026-07-2613060964.2 KBCreate or Update Template
Create a new template or update an existing one. If the template slug already exists, the template metadata is updated. Changes are saved to the draft version.
post/v2/{workspace}/template/{template_slug}/
Path parameters
workspacestring required
Workspace slug.
template_slugstring required
Unique template slug. Used as the identifier for the template.
Request body
Example request
{
"name": "Order Confirmed",
"description": "Sent when an order is placed",
"tags": [
"transactional"
],
"enabled_channels": [
"email",
"sms"
]
}Response
Template created or updated successfully
object required