> ## Documentation Index
> Fetch the complete documentation index at: /docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Create Template

> Create a reusable email template.

Creates a reusable HTML/liquid template with dynamic merge tags via the Mailofly API.

### Body

**name** `string` *required*

Template display name

**subject** `string`

Default subject line

**html** `string` *required*

HTML body content

**variables** `string[]`

List of required variable names

### Response

**id** `string`

Template ID (`tpl_...`)

**name** `string`

Template name


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.