A reusable template for building emails.
archived | boolean Boolean value indicating if the template has been archived. |
archivedAt | string <date-time>
The date and time the template was archived. |
bccRecipients | Array of strings A list of default person and email address pairs to receive this template in the "bcc" field (e.g. [Billy Bob |
bodyHtml | string <= 16777215 characters The body HTML of the template. |
bodyText | string <= 16777215 characters The body text of the template. |
bounceCount | integer The total count of bounced mailings during this template. |
ccRecipients | Array of strings A list of default person and email address pairs to receive this template in the "cc" field (e.g. [Billy Bob |
clickCount | integer
The total count of clicked mailings from this template. |
createdAt | string <date-time>
The date and time the template was created. |
deliverCount | integer
The total count of delivered mailings from this template. |
failureCount | integer The total count of failed mailings from this template. |
lastUsedAt | string <date-time>
The last time the template was used. |
name | string <= 225 characters
The name of the template. |
negativeReplyCount | integer The total count of negative reply mailings from this template. |
neutralReplyCount | integer The total count of neutral reply mailings from this template. |
openCount | integer
The total count of opened mailings from this template. |
optOutCount | integer The total count of opted out mailings from this template. |
positiveReplyCount | integer The total count of positive reply mailings from this template. |
replyCount | integer
The total count of replied mailings from this template. |
scheduleCount | integer The total count of scheduled mailings from this template. |
shareType | string <= 255 characters
The share type must be one of "read_only," "private," or "shared". |
subject | string The subject line for the email to be sent. |
tags | Array of strings A list of tag values associated with the template (e.g. ["Sequencing", "Quick Response"]). |
toRecipients | Array of strings A list of default person and email address pairs to receive this template in the "to" field (e.g. ["Billy Bob billy.bob@seattle.city"]) |
trackLinks | boolean Boolean value indicating if link tracking is on for the template. |
trackOpens | boolean Boolean value indicating if open tracking is on for the template. |
updatedAt | string <date-time>
The date and time the template was last updated. |
{- "archived": true,
- "archivedAt": "2019-08-24T14:15:22Z",
- "bccRecipients": [
- "string"
], - "bodyHtml": "string",
- "bodyText": "string",
- "bounceCount": 0,
- "ccRecipients": [
- "string"
], - "clickCount": 0,
- "createdAt": "2019-08-24T14:15:22Z",
- "deliverCount": 0,
- "failureCount": 0,
- "lastUsedAt": "2019-08-24T14:15:22Z",
- "name": "string",
- "negativeReplyCount": 0,
- "neutralReplyCount": 0,
- "openCount": 0,
- "optOutCount": 0,
- "positiveReplyCount": 0,
- "replyCount": 0,
- "scheduleCount": 0,
- "shareType": "string",
- "subject": "string",
- "tags": [
- "string"
], - "toRecipients": [
- "string"
], - "trackLinks": true,
- "trackOpens": true,
- "updatedAt": "2019-08-24T14:15:22Z"
}
Array of data (object) or links (object) (contentCategoryMembership) The content cateogories with which this template is associated. Relationship contentCategoryMemberships cannot be used as a filter. | |
data (object) or links (object) (user) The creator of the template. You can use only the attribute id to filter templates by creator (e.g. filter[creator][id]=X). | |
data (object) or links (object) (user) The owner of the template. You can use only the attribute id to filter templates by owner (e.g. filter[owner][id]=X). | |
Array of data (object) or links (object) (recipient) A list of default email addresses to receive this template. You can use only the attribute id to filter templates by recipients (e.g. filter[recipients][id]=X). | |
Array of data (object) or links (object) (sequenceTemplate) The sequence templates using the template for their content. Relationship sequenceTemplates cannot be used as a filter. | |
data (object) or links (object) (user) The creator of the template. You can use only the attribute id to filter templates by updater (e.g. filter[updater][id]=X). |
{- "contentCategoryMemberships": [
- {
- "data": {
- "id": 0,
- "type": "contentCategoryMembership"
}
}
], - "creator": {
- "data": {
- "id": 0,
- "type": "user"
}
}, - "owner": {
- "data": {
- "id": 0,
- "type": "user"
}
}, - "recipients": [
- {
- "data": {
- "id": 0,
- "type": "recipient"
}
}
], - "sequenceTemplates": [
- {
- "data": {
- "id": 0,
- "type": "sequenceTemplate"
}
}
], - "updater": {
- "data": {
- "id": 0,
- "type": "user"
}
}
}
METADATA NAME | DESCRIPTION | QUERY PARAM |
---|---|---|
canWrite | A boolean value indicating whether the current API user has write access to this resource. | provideAuthorizationMeta |
canDelete | A boolean value indicating whether the current API user has delete access to this resource. | provideAuthorizationMeta |
OK
JSON error message
{- "data": [
- {
- "attributes": {
- "archived": true,
- "archivedAt": "2019-08-24T14:15:22Z",
- "bccRecipients": [
- "string"
], - "bodyHtml": "string",
- "bodyText": "string",
- "bounceCount": 0,
- "ccRecipients": [
- "string"
], - "clickCount": 0,
- "createdAt": "2019-08-24T14:15:22Z",
- "deliverCount": 0,
- "failureCount": 0,
- "lastUsedAt": "2019-08-24T14:15:22Z",
- "name": "string",
- "negativeReplyCount": 0,
- "neutralReplyCount": 0,
- "openCount": 0,
- "optOutCount": 0,
- "positiveReplyCount": 0,
- "replyCount": 0,
- "scheduleCount": 0,
- "shareType": "string",
- "subject": "string",
- "tags": [
- "string"
], - "toRecipients": [
- "string"
], - "trackLinks": true,
- "trackOpens": true,
- "updatedAt": "2019-08-24T14:15:22Z"
}, - "id": 0,
- "relationships": {
- "contentCategoryMemberships": [
- {
- "data": {
- "id": 0,
- "type": "contentCategoryMembership"
}
}
], - "creator": {
- "data": {
- "id": 0,
- "type": "user"
}
}, - "owner": {
- "data": {
- "id": 0,
- "type": "user"
}
}, - "recipients": [
- {
- "data": {
- "id": 0,
- "type": "recipient"
}
}
], - "sequenceTemplates": [
- {
- "data": {
- "id": 0,
- "type": "sequenceTemplate"
}
}
], - "updater": {
- "data": {
- "id": 0,
- "type": "user"
}
}
}, - "type": "string"
}
]
}
object |
Created
JSON error message
{- "data": {
- "attributes": {
- "archived": true,
- "archivedAt": "2019-08-24T14:15:22Z",
- "bccRecipients": [
- "string"
], - "bodyHtml": "string",
- "bodyText": "string",
- "bounceCount": 0,
- "ccRecipients": [
- "string"
], - "clickCount": 0,
- "createdAt": "2019-08-24T14:15:22Z",
- "deliverCount": 0,
- "failureCount": 0,
- "lastUsedAt": "2019-08-24T14:15:22Z",
- "name": "string",
- "negativeReplyCount": 0,
- "neutralReplyCount": 0,
- "openCount": 0,
- "optOutCount": 0,
- "positiveReplyCount": 0,
- "replyCount": 0,
- "scheduleCount": 0,
- "shareType": "string",
- "subject": "string",
- "tags": [
- "string"
], - "toRecipients": [
- "string"
], - "trackLinks": true,
- "trackOpens": true,
- "updatedAt": "2019-08-24T14:15:22Z"
}, - "relationships": {
- "contentCategoryMemberships": [
- {
- "data": {
- "id": 0,
- "type": "contentCategoryMembership"
}
}
], - "creator": {
- "data": {
- "id": 0,
- "type": "user"
}
}, - "owner": {
- "data": {
- "id": 0,
- "type": "user"
}
}, - "recipients": [
- {
- "data": {
- "id": 0,
- "type": "recipient"
}
}
], - "sequenceTemplates": [
- {
- "data": {
- "id": 0,
- "type": "sequenceTemplate"
}
}
], - "updater": {
- "data": {
- "id": 0,
- "type": "user"
}
}
}, - "type": "string"
}
}
{- "data": {
- "attributes": {
- "archived": true,
- "archivedAt": "2019-08-24T14:15:22Z",
- "bccRecipients": [
- "string"
], - "bodyHtml": "string",
- "bodyText": "string",
- "bounceCount": 0,
- "ccRecipients": [
- "string"
], - "clickCount": 0,
- "createdAt": "2019-08-24T14:15:22Z",
- "deliverCount": 0,
- "failureCount": 0,
- "lastUsedAt": "2019-08-24T14:15:22Z",
- "name": "string",
- "negativeReplyCount": 0,
- "neutralReplyCount": 0,
- "openCount": 0,
- "optOutCount": 0,
- "positiveReplyCount": 0,
- "replyCount": 0,
- "scheduleCount": 0,
- "shareType": "string",
- "subject": "string",
- "tags": [
- "string"
], - "toRecipients": [
- "string"
], - "trackLinks": true,
- "trackOpens": true,
- "updatedAt": "2019-08-24T14:15:22Z"
}, - "id": 0,
- "relationships": {
- "contentCategoryMemberships": [
- {
- "data": {
- "id": 0,
- "type": "contentCategoryMembership"
}
}
], - "creator": {
- "data": {
- "id": 0,
- "type": "user"
}
}, - "owner": {
- "data": {
- "id": 0,
- "type": "user"
}
}, - "recipients": [
- {
- "data": {
- "id": 0,
- "type": "recipient"
}
}
], - "sequenceTemplates": [
- {
- "data": {
- "id": 0,
- "type": "sequenceTemplate"
}
}
], - "updater": {
- "data": {
- "id": 0,
- "type": "user"
}
}
}, - "type": "string"
}
}
{- "data": {
- "attributes": {
- "archived": true,
- "archivedAt": "2019-08-24T14:15:22Z",
- "bccRecipients": [
- "string"
], - "bodyHtml": "string",
- "bodyText": "string",
- "bounceCount": 0,
- "ccRecipients": [
- "string"
], - "clickCount": 0,
- "createdAt": "2019-08-24T14:15:22Z",
- "deliverCount": 0,
- "failureCount": 0,
- "lastUsedAt": "2019-08-24T14:15:22Z",
- "name": "string",
- "negativeReplyCount": 0,
- "neutralReplyCount": 0,
- "openCount": 0,
- "optOutCount": 0,
- "positiveReplyCount": 0,
- "replyCount": 0,
- "scheduleCount": 0,
- "shareType": "string",
- "subject": "string",
- "tags": [
- "string"
], - "toRecipients": [
- "string"
], - "trackLinks": true,
- "trackOpens": true,
- "updatedAt": "2019-08-24T14:15:22Z"
}, - "id": 0,
- "relationships": {
- "contentCategoryMemberships": [
- {
- "data": {
- "id": 0,
- "type": "contentCategoryMembership"
}
}
], - "creator": {
- "data": {
- "id": 0,
- "type": "user"
}
}, - "owner": {
- "data": {
- "id": 0,
- "type": "user"
}
}, - "recipients": [
- {
- "data": {
- "id": 0,
- "type": "recipient"
}
}
], - "sequenceTemplates": [
- {
- "data": {
- "id": 0,
- "type": "sequenceTemplate"
}
}
], - "updater": {
- "data": {
- "id": 0,
- "type": "user"
}
}
}, - "type": "string"
}
}
{- "data": {
- "attributes": {
- "archived": true,
- "archivedAt": "2019-08-24T14:15:22Z",
- "bccRecipients": [
- "string"
], - "bodyHtml": "string",
- "bodyText": "string",
- "bounceCount": 0,
- "ccRecipients": [
- "string"
], - "clickCount": 0,
- "createdAt": "2019-08-24T14:15:22Z",
- "deliverCount": 0,
- "failureCount": 0,
- "lastUsedAt": "2019-08-24T14:15:22Z",
- "name": "string",
- "negativeReplyCount": 0,
- "neutralReplyCount": 0,
- "openCount": 0,
- "optOutCount": 0,
- "positiveReplyCount": 0,
- "replyCount": 0,
- "scheduleCount": 0,
- "shareType": "string",
- "subject": "string",
- "tags": [
- "string"
], - "toRecipients": [
- "string"
], - "trackLinks": true,
- "trackOpens": true,
- "updatedAt": "2019-08-24T14:15:22Z"
}, - "id": 0,
- "relationships": {
- "contentCategoryMemberships": [
- {
- "data": {
- "id": 0,
- "type": "contentCategoryMembership"
}
}
], - "creator": {
- "data": {
- "id": 0,
- "type": "user"
}
}, - "owner": {
- "data": {
- "id": 0,
- "type": "user"
}
}, - "recipients": [
- {
- "data": {
- "id": 0,
- "type": "recipient"
}
}
], - "sequenceTemplates": [
- {
- "data": {
- "id": 0,
- "type": "sequenceTemplate"
}
}
], - "updater": {
- "data": {
- "id": 0,
- "type": "user"
}
}
}, - "type": "string"
}
}
{- "data": {
- "attributes": {
- "archived": true,
- "archivedAt": "2019-08-24T14:15:22Z",
- "bccRecipients": [
- "string"
], - "bodyHtml": "string",
- "bodyText": "string",
- "bounceCount": 0,
- "ccRecipients": [
- "string"
], - "clickCount": 0,
- "createdAt": "2019-08-24T14:15:22Z",
- "deliverCount": 0,
- "failureCount": 0,
- "lastUsedAt": "2019-08-24T14:15:22Z",
- "name": "string",
- "negativeReplyCount": 0,
- "neutralReplyCount": 0,
- "openCount": 0,
- "optOutCount": 0,
- "positiveReplyCount": 0,
- "replyCount": 0,
- "scheduleCount": 0,
- "shareType": "string",
- "subject": "string",
- "tags": [
- "string"
], - "toRecipients": [
- "string"
], - "trackLinks": true,
- "trackOpens": true,
- "updatedAt": "2019-08-24T14:15:22Z"
}, - "id": 0,
- "relationships": {
- "contentCategoryMemberships": [
- {
- "data": {
- "id": 0,
- "type": "contentCategoryMembership"
}
}
], - "creator": {
- "data": {
- "id": 0,
- "type": "user"
}
}, - "owner": {
- "data": {
- "id": 0,
- "type": "user"
}
}, - "recipients": [
- {
- "data": {
- "id": 0,
- "type": "recipient"
}
}
], - "sequenceTemplates": [
- {
- "data": {
- "id": 0,
- "type": "sequenceTemplate"
}
}
], - "updater": {
- "data": {
- "id": 0,
- "type": "user"
}
}
}, - "type": "string"
}
}