Create a new coded template object in Design Manager.
Scope requirements
Template category type: 0=Unmapped, 1=Landing Pages, 2=Email, 3=Blog Post, 4=Site Page
The name of the folder to save the template in Design Manager
The Design Manager path to the directory that contains the file being created
The source code of the file
Template type: 2=Email, 4=Page, 11=Error, 12=Subscription preferences, etc.
Used to determine if the template should be expected to pass page/content validation
Template created successfully
The unique id of the template
The label of the template as it shows up in the template builder
The path of the template, as should be used for HubL include statements
The markup of the template
The category of content this template can be used for. 1 for landing page, 2 for email, 3 for site page
The type of template
The folder this template lives in
True if this template will show up in the content creation screen
True if template was generated by publishing a layout
True if the template can only be read
For non-HTML templates, the URL to the version of the template that has been rendered and uploaded to the HubSpot CDN
For JavaScript and CSS, this is the URL of the version of the content that has been rendered, minified, and uploaded to our Content Delivery Network
When the template was deleted, in milliseconds since the epoch. Zero if the template was never deleted.
The id of the layout that generated this template
The thumbnail image of the template
The width of the thumbnail image
When the template was last updated, in milliseconds since the epoch
Who last updated the template
The portal/account ID
If True, the template will not show up in your dashboard, although the template will still be live
ID of linked stylesheet
Template type field