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
ActiveFlagIntIndicates whether the template is available for use within the account. Valid values include:0 - Not active1 - Active.
AlignStringIndicates the alignment of elements within the template.
BackgroundColorStringSpecifies background color used for template.
BorderColorStringSpecifies border color used in template.
BorderWidthIntSpecifies border pixel width used in template.
CategoryIDIntIndicates whether content validation has completed for this email message.
CategoryTypeStringIdentifies correlation of objects across several requests.
ClientClientIDSpecifies the account ownership and context of an object.
CellpaddingIntSpecifies pixel width of padding within cells used in template.
CellspacingIntSpecifies pixel spacing between cells used in template.
CorrelationIDStringIdentifies correlation of objects across several requests.
CreatedDateDateTimeThe date and time when the object was created.
CustomerKeyStringUser-supplied unique identifier for an object within an object type.
HeaderContentContentAreaContains content used in header of template.
IDIntRead-only legacy identifier for an object. Not supported on all objects.
IsTemplateSubjectLockedBooleanIndicates 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.
LayoutHTMLStringContains HTML used to define layout of fields and content within template.
ModifiedDateDateTimeLast time object information was modified.
ObjectIDStringSystem-controlled, read-only text string identifier for object.
ObjectStateStringNot used.
OwnerOwnerDescribes account ownership of subscriber in an on-your-behalf account.
OwnerIDIntSpecifies MID of business unit that created the template within an Enterprise 2.0 account.
PartnerKeyStringUnique identifier provided by partner for an object. This property is accessible only via API.
PartnerPropertiesArray of APIProperty objectsA collection of metadata supplied by the client and stored by the system. These properties are accessible only via API.
PreHeaderStringContains text used in preheader of email message on mobile devices.
TemplateNameStringA name for the template.
TemplateSubjectStringContains email subject line specified by the template.
WidthIntSpecifies the pixel width of the entire template.