Template

Marketing Cloud Engagement has a new model for storing, finding, managing, creating, sharing, and distributing all content-related objects. Access the objects created with the new Content Builder tools using the REST API. Your existing SOAP API integrations only function with the Classic tools.

The Template object represents an email template.

NameData TypeDescription
ActiveFlagxsd:intIndicates whether the template is available for use within the account. Valid values include:0 - Not active1 - Active
Alignxsd:stringIndicates the alignment of elements within the template.
BackgroundColorxsd:stringSpecifies background color used for template.
BorderColorxsd:stringSpecifies border color used in template.
BorderWidthxsd:intSpecifies border pixel width used in template.
CategoryIDxsd:intIndicates whether content validation has completed for this email message.
CategoryTypexsd:stringIdentifies correlation of objects across several requests.
ClientClientIDSpecifies the account ownership and context of an object.
Cellpaddingxsd:intSpecifies pixel width of padding within cells used in template.
Cellspacingxsd:intSpecifies pixel spacing between cells used in template.
CorrelationIDxsd:stringIdentifies correlation of objects across several requests.
CreatedDatexsd:dateTimeRead-only date and time of the object's creation.
CustomerKeyxsd:stringUser-supplied unique identifier for an object within an object type.
HeaderContentContentAreaContains content used in header of template.
IDxsd:intRead-only legacy identifier for an object. Not supported on all objects.
IsTemplateSubjectLockedxsd:booleanIndicates whether the subject defined in the header can be changed or not by email using template.
LayoutLayoutSpecifies how elements within template are laid out, including content areas.
LayoutHTMLxsd:stringContains HTML used to define layout of fields and content within template.
ModifiedDateNullable'1Last time object information was modified.
ObjectIDxsd:stringSystem-controlled, read-only text string identifier for object.
ObjectStatexsd:stringReserved for future use.
OwnerOwnerDescribes account ownership of subscriber in an on-your-behalf account.
OwnerIDxsd:intSpecifies MID of business unit that created the template within an Enterprise 2.0 account.
PartnerKeyxsd:stringUnique identifier provided by partner for an object. This property is accessible only via API.
PartnerPropertiesAPIProperty[]A collection of metadata supplied by the client and stored by the system. These properties are accessible only via API.
PreHeaderxsd:stringContains text used in preheader of email message on mobile devices.
TemplateNamexsd:stringA name for the template.
TemplateSubjectxsd:stringContains email subject line specified by the template.
Widthxsd:intSpecifies the pixel width of the entire template