Templates

Create a template

post/templates

Request body

namestring required

The name of the template.

aliasstring

The alias of the template.

fromstring

Sender email address. To include a friendly name, use the format "Your Name sender@domain.com".

subjectstring

Email subject.

reply_tostring[]

Reply-to email addresses.

htmlstring required

The HTML version of the template.

textstring

The plain text version of the template.

Response

OK

idstring

The ID of the template.

objectstring

The object type of the response.

Example response

{
  "object": "template"
}

Changes