EmailTemplate v1.2
Create, edit or retrieve your email templates.
Create, edit or retrieve your email templates.
EmailTemplate provides access to all the custom templates in an account. Users can then log into the interface and use these templates to create email campaigns and send them to subscribers.
Attribute | Type | Filter | Sort | Description |
---|---|---|---|---|
id | int | Yes | Yes | Unique ID of the email template. |
name | string | No | Yes | Template name. Maximum length is 128 octets. |
description | string | No | No | Description of the template. Maximum length is 255 octets. |
content | string | No | No | Template HTML content. |
thumbnailurl | string/null | No | No | The URL at which a thumbnail preview of the rendered template content can be found. NULL if the thumbnail image has not yet been generated. |
cdate | decimal | No | Yes | Template creation timestamp. |
mdate | decimal | No | Yes | Last modification timestamp. |
Attribute | Type | Presence | Description |
---|---|---|---|
id | int | Optional | Unique ID of the email template. |
Attribute | Type | Presence | Description |
---|---|---|---|
name | string | Required | Template name. Maximum length is 128 octets. |
description | string | Optional | Description of the template. Maximum length is 255 octets. |
content | string | Required | Template HTML content. |
Attribute | Type | Presence | Description |
---|---|---|---|
id | int | Required | Unique ID of the email template. |
name | string | Optional | Template name. Maximum length is 128 octets. |
description | string | Optional | Description of the template. Maximum length is 255 octets. |
content | string | Optional | Template HTML content. |
Attribute | Type | Presence | Description |
---|---|---|---|
id | int | Optional | Unique ID of the email template. |
There are no error codes for this endpoint.
Please see error handling for more information on error codes.
{ "id" : 123456, "name" : "Three-column newsletter", "description" : "Responsive template with three columns; article layout suitable for a newsletter", "content" : "<html> [...] </html>", "thumbnailurl" : "http://someserver.com/123/456/789/thumbnail.png", "cdate" : 123456789, "mdate" : 123456789 }