Create a template
templates
Create a template
Create a new email template
POST
Create a template
Authorizations
API key authentication. Use your API key as the bearer token.
Body
application/json
Minimum string length:
1Example:
"Welcome Email"
Minimum string length:
1Example:
"Welcome to {{company}}"
Example:
"<h1>Welcome {{name}}</h1>"
Example:
"Welcome {{name}}"
Example:
["name", "company"]Default from email address. Must match a verified domain.
Example:
"hello@example.com"
Reply-To email address for template-based emails.
Example:
"support@example.com"
Preview text (preheader) shown in email clients.
Example:
"Check out what's new..."
Response
Template created
Example:
"123e4567-e89b-12d3-a456-426614174000"