Lead Follow-up Email Templates

Get Email Templates

get
Query parameters
company_idintegerRequired

The ID of the company whose email templates will be retrieved

Responses
200

Successful retrieval of email templates.

application/json
get
/lead/email/templates
200

Successful retrieval of email templates.

Create an Email Template

post
Body
company_idintegerOptional

The ID of the company associated with the email template

namestringRequired

The name of the email template

subjectstringRequired

The subject of the email template

bodystringRequired

The body content of the email template

ccstringOptional

Comma-separated list of CC email addresses (optional)

bccstringOptional

Comma-separated list of BCC email addresses (optional)

primarybooleanOptional

Whether this email template is the primary template (optional)

Default: false
Responses
200

Successful creation of the email template.

application/json
post
/lead/email/templates
200

Successful creation of the email template.

Update an Email Template

put
Body
company_idintegerOptional

The ID of the company associated with the email template

template_idintegerRequired

The ID of the email template to update

namestringOptional

The name of the email template

subjectstringOptional

The subject of the email template

bodystringOptional

The body content of the email template

ccstringOptional

Comma-separated list of CC email addresses (optional)

bccstringOptional

Comma-separated list of BCC email addresses (optional)

Responses
200

Successful update of the email template.

application/json
put
/lead/email/templates
200

Successful update of the email template.

Delete an Email Template

delete
Body
company_idintegerOptional

The ID of the company associated with the email template

template_idintegerRequired

The ID of the email template to delete

Responses
200

Successful deletion of the email template.

application/json
delete
/lead/email/templates
200

Successful deletion of the email template.

Get a Single Email Template

get
Query parameters
company_idintegerRequired

The ID of the company whose email template will be retrieved

Responses
200

Successful retrieval of the email template.

application/json
get
/lead/email/template
200

Successful retrieval of the email template.

Set Primary Email Template

put
Body
company_idintegerOptional

The ID of the company associated with the email template

template_idintegerRequired

The ID of the email template to set as primary

Responses
200

Successful setting of the primary email template.

application/json
put
/lead/email/templates/primary
200

Successful setting of the primary email template.

Last updated