For the complete documentation index, see llms.txt. This page is also available as Markdown.

Templates

Manage email templates

Create and manage reusable email templates with dynamic content.

Get all Email Templates

get

Get all email templates existing in your account

Authorizations
Api-TokenstringRequired

API token in Api-Token header

Responses
200

OK.

application/json
idintegerOptional
uuidstring · uuidOptional
namestring · max: 255Optional
categorystring · max: 255Optional
subjectstring · max: 255Optional
body_textstring · max: 10000000Optional
body_htmlstring · max: 10000000Optional
created_atstring · date-timeOptional
updated_atstring · date-timeOptional
get/api/email_templates

Create Email Template

post

Create a new email template

Authorizations
Api-TokenstringRequired

API token in Api-Token header

Body
Responses
201

Email template created successfully.

application/json
idintegerOptional
uuidstring · uuidOptional
namestring · max: 255Optional
categorystring · max: 255Optional
subjectstring · max: 255Optional
body_textstring · max: 10000000Optional
body_htmlstring · max: 10000000Optional
created_atstring · date-timeOptional
updated_atstring · date-timeOptional
post/api/email_templates

Get Email Template

get

Get an email template by ID

Authorizations
Api-TokenstringRequired

API token in Api-Token header

Path parameters
email_template_idinteger · int64Required

Email template ID

Example: 60927
Responses
200

Returns attributes of the email template.

application/json
idintegerOptional
uuidstring · uuidOptional
namestring · max: 255Optional
categorystring · max: 255Optional
subjectstring · max: 255Optional
body_textstring · max: 10000000Optional
body_htmlstring · max: 10000000Optional
created_atstring · date-timeOptional
updated_atstring · date-timeOptional
get/api/email_templates/{email_template_id}

Delete Email Template

delete

Delete an email template

Authorizations
Api-TokenstringRequired

API token in Api-Token header

Path parameters
email_template_idinteger · int64Required

Email template ID

Example: 60927
Responses
204

No Content

No content

delete/api/email_templates/{email_template_id}

No content

Update Email Template

patch

Update an email template

Authorizations
Api-TokenstringRequired

API token in Api-Token header

Path parameters
email_template_idinteger · int64Required

Email template ID

Example: 60927
Body
Responses
200

Email template updated successfully.

application/json
idintegerOptional
uuidstring · uuidOptional
namestring · max: 255Optional
categorystring · max: 255Optional
subjectstring · max: 255Optional
body_textstring · max: 10000000Optional
body_htmlstring · max: 10000000Optional
created_atstring · date-timeOptional
updated_atstring · date-timeOptional
patch/api/email_templates/{email_template_id}

Last updated

Was this helpful?