Create template
Create a new email template in your HubSpot account. This endpoint allows you to define the template’s name, subject, body, and optionally assign it to a folder. The request must include the template’s body and name. Please note: the scopes for these endpoints require user-level access and will not work for existing apps with portal-level access.
Supported products
Supported products
Required Scopes
Required Scopes
Body
The main content of the email template. This is a required field and must be a string.
The name of the email template. This is a required field and must be a string.
The identifier of the folder in which the template is stored. This is an optional field and must be a string if provided.
The subject line of the email template. This is an optional field and must be a string if provided.
Response
successful operation
The unique identifier for the email template, represented as a string.
The content of the email template, represented as a string.
The timestamp indicating when the email template was created, represented as an integer in int64 format.
The identifier of the folder where the email template is stored, represented as a string.
The name of the email template, represented as a string.
The identifier of the owner of the email template, represented as a string.
The subject line of the email template, represented as a string.
The timestamp indicating when the email template was last updated, represented as an integer in int64 format.