Create Personal Email Template
POST/v2/email_templates
Create a new personal email template
Request
- multipart/form-data
Body
required
The title of the email content.
The subject line of the email content.
The main body of the email content.
Indicates if open tracking is enabled for the email.
Indicates if click tracking is enabled for the email.
A list of attachment IDs to associate with the email template.
Responses
- 200
Success
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- ]
ID of email template
Title of the email template
Subject of the email template
Sanitized body of the email template without email signature
A plain text version of the first 100 characters of the body of the email template
Datetime of when the email template was created
Datetime of when the email template was last updated
Datetime of when the email template was last used
Datetime of when the email template was archived, if archived
Whether this email template is visible to team members (shared)
Whether open tracking is enabled for this email template
Whether click tracking is enabled for this email template
Whether this email template is only used on a cadence step. These templates are not visible in the SalesLoft application template list. If false, this email template is visible in the SalesLoft application, and may be used when composing an email or creating a cadence step.
counts object
The number of times the email template was sent out
The number of times the email template was opened
The number of times links in the email template were clicked
The number of replies the email template received
The number of bounces the email template received
template_owner object
User that owns this email template
team_template object
Associated team template, if any
Links to attachments and tags resources for this email template.
All tags applied to this email template
groups object[]
Groups to which this template is assigned, if any
{
"id": 5,
"title": "Welcome email",
"subject": "Welcome to SalesLoft!",
"body": "<div><div>Welcome to the SalesLoft family! My name is Sarah and I’m your implementation consultant. I’m here to get you up and running. It's my job to help you configure your team's SalesLoft access, provide customized training for your specific goals, and make sure that you and your team are ready to crush your goals.</div><div dir=\"ltr\"><br></div>Thank you,<br></div>",
"body_preview": "hello\n\nhey sounds good\n\nok\n\nok\n\nwith an edit\n\nok now i'm comic sans 14",
"created_at": "2024-01-01T00:00:00.000000+00:00",
"updated_at": "2024-01-01T00:00:00.000000+00:00",
"last_used_at": "2024-01-01T00:00:00.000000+00:00",
"archived_at": "2024-01-01T00:00:00.000000+00:00",
"shared": false,
"open_tracking_enabled": true,
"click_tracking_enabled": true,
"cadence_template": true,
"counts": {
"sent_emails": 59,
"views": 3,
"clicks": 20,
"replies": 1,
"bounces": 10
},
"template_owner": {
"id": 1,
"_href": "https://api.salesloft.com/v2/users/1"
},
"team_template": {
"id": "00000000-0000-0000-0000-000000000000",
"_href": "https://api.salesloft.com/v2/team_templates/00000000-0000-0000-0000-000000000000"
},
"_links": {
"attachments": "https://api.salesloft.com/v2/email_template_attachments?email_template_id[]=1"
},
"tags": [
"7-23-2017",
"internal"
],
"groups": [
{
"id": 921,
"_href": "https://api.salesloft.com/v2/groups/921"
}
]
}