Create email template
post
/templates/email/create
Use this endpoint to create email templates on the Braze dashboard.
These templates will be available on the Templates & Media page. The response from this endpoint includes a field for email_template_id, which can be used to update the template in subsequent API calls.

tip
You can also call this endpoint through the Braze MCP server using the create_email_template function. This lets AI tools like Claude and Cursor create email templates through natural language prompts.
Troubleshooting
The following table lists possible returned errors and their associated troubleshooting steps, if applicable.
| Error | Troubleshooting |
|---|---|
| Template name is required | Enter a template name. |
| Tags must be an array | Tags must be formatted as an array of strings, for example ["marketing", "promotional", "transactional"]. |
| All tags must be strings | Make sure your tags are encapsulated in quotes (""). |
| Some tags could not be found | To add a tag when creating an email template, the tag must already exist in Braze. |
| Email must have valid Content Block names | The email might contain Content Blocks that don’t exist in this environment. |
Invalid value for should_inline_css. One of true or false was expected |
This parameter only accepts boolean values (true or false). Make sure the value for should_inline_css is not encapsulated in quotes (""), which causes the value to be sent as a string instead. |
You can download the OpenAPI document and use it to validate schemas. To learn how, see Use OpenAPI schemas for request validation.
New Stuff!