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

Path parameters
account_idintegerRequired

Account ID

Example: 1
Responses
200

OK.

application/json
get
/api/accounts/{account_id}/email_templates

Create Email Template

post

Create a new email template

Authorizations
Api-TokenstringRequired

API token in Api-Token header

Path parameters
account_idintegerRequired

Account ID

Example: 1
Body
Responses
post
/api/accounts/{account_id}/email_templates

Get Email Template

get

Get an email template by ID

Authorizations
Api-TokenstringRequired

API token in Api-Token header

Path parameters
account_idintegerRequired

Account ID

Example: 1
email_template_idintegerRequired

Email template ID

Example: 1
Responses
200

Returns attributes of the email template.

application/json
get
/api/accounts/{account_id}/email_templates/{email_template_id}

Delete Email Template

delete

Delete an email template

Authorizations
Api-TokenstringRequired

API token in Api-Token header

Path parameters
account_idintegerRequired

Account ID

Example: 1
email_template_idintegerRequired

Email template ID

Example: 1
Responses
delete
/api/accounts/{account_id}/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
account_idintegerRequired

Account ID

Example: 1
email_template_idintegerRequired

Email template ID

Example: 1
Body
Responses
200

Email template updated successfully.

application/json
patch
/api/accounts/{account_id}/email_templates/{email_template_id}

Last updated

Was this helpful?