Authorizations
API token for authentication
Body
application/json
The ID of the workspace
Example:
"ws_1234567890"
Unique identifier for the template (alphanumeric, underscores, and hyphens only)
Maximum length:
32Example:
"welcome_email"
Name of the template
Maximum length:
32Example:
"Welcome Email"
Communication channel
Available options:
email, web Example:
"email"
Template category
Available options:
marketing, transactional, welcome, opt_in, unsubscribe, bounce, blocklist, blog, other Example:
"transactional"
ID of the template macro (layout) to use
Test data for template preview
Channel-specific settings
Response
Template created successfully
