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.

Properties

Name Data Type Description
ActiveFlag Int Indicates whether the template is available for use within the account. Valid values include:0 - Not active1 - Active.
Align String Indicates the alignment of elements within the template.
BackgroundColor String Specifies background color used for template.
BorderColor String Specifies border color used in template.
BorderWidth Int Specifies border pixel width used in template.
CategoryID Int Indicates whether content validation has completed for this email message.
CategoryType String Identifies correlation of objects across several requests.
Client ClientID Specifies the account ownership and context of an object.
Cellpadding Int Specifies pixel width of padding within cells used in template.
Cellspacing Int Specifies pixel spacing between cells used in template.
CorrelationID String Identifies correlation of objects across several requests.
CreatedDate DateTime The date and time when the object was created.
CustomerKey String User-supplied unique identifier for an object within an object type.
HeaderContent ContentArea Contains content used in header of template.
ID Int Read-only legacy identifier for an object. Not supported on all objects.
IsTemplateSubjectLocked Boolean Indicates whether the subject defined in the header can be changed or not by email using template.
Layout Layout Specifies how elements within template are laid out, including content areas.
LayoutHTML String Contains HTML used to define layout of fields and content within template.
ModifiedDate DateTime Last time object information was modified.
ObjectID String System-controlled, read-only text string identifier for object.
ObjectState String Not used.
Owner Owner Describes account ownership of subscriber in an on-your-behalf account.
OwnerID Int Specifies MID of business unit that created the template within an Enterprise 2.0 account.
PartnerKey String Unique identifier provided by partner for an object. This property is accessible only via API.
PartnerProperties Array of APIProperty objects A collection of metadata supplied by the client and stored by the system. These properties are accessible only via API.
PreHeader String Contains text used in preheader of email message on mobile devices.
TemplateName String A name for the template.
TemplateSubject String Contains email subject line specified by the template.
Width Int Specifies the pixel width of the entire template.

Related Items