Creates a new template. Each template must have a channel (email or web) with corresponding channel-specific content.
API token for authentication
The ID of the workspace
"ws_1234567890"
Unique identifier for the template (alphanumeric, underscores, and hyphens only)
32"welcome_email"
Name of the template
32"Welcome Email"
Communication channel
email, web "email"
Template category
marketing, transactional, welcome, opt_in, unsubscribe, bounce, blocklist, blog, other "transactional"
ID of the template macro (layout) to use
Test data for template preview
Channel-specific settings
Template created successfully