Update Team Email Template
PUT/v2/team_templates/:id
Update a team email template
Request
Path Parameters
Template ID
- 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
ID of team template
Title of the team template
Subject of the team template
Body of the team template
A plain text version of the first 100 characters of the body of the team template
Datetime of when the team template was created
Datetime of when the team template was last updated
Datetime of when the team template was last used
Datetime of when the team template was archived, if archived
Datetime of when the team template was last modified
Whether open tracking is enabled for this team template
Whether click tracking is enabled for this team template
counts object
The number of times the team template was sent out
The number of times the team template was opened
The number of times links in the team template were clicked
The number of replies the team template received
The number of bounces the team template received
last_modified_user object
User that last modified this team template
Links to attachments resource for this template
All tags applied to this team template
{
"id": "51226150-3108-4dea-883b-0c0d7388f456",
"title": "VP Breakup Email",
"subject": "It’s time to say goodbye",
"body": "<div>Do you know about birds?</div><div>You can find them here: <a href=\"https://www.allaboutbirds.org/guide/search/\" target=\"_blank\">https://www.allaboutbirds.org/guide/search/</a></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",
"last_modified_at": "2024-01-01T00:00:00.000000+00:00",
"open_tracking_enabled": true,
"click_tracking_enabled": true,
"counts": {
"sent_emails": 59,
"views": 3,
"clicks": 20,
"replies": 1,
"bounces": 10
},
"last_modified_user": {
"id": 1,
"_href": "https://api.salesloft.com/v2/users/1"
},
"_links": {
"attachments": "https://api.salesloft.com/v2/team_template_attachments?team_template_id[]=1"
},
"tags": [
"7-23-2017",
"internal"
]
}