Project email templates

Copy a project email template into a specific business

post/project_email_templates/{id}/copy

Path parameters

idstring required

The ID of the project email template to copy

Request body

businessstring required

The ID of the business to copy the project email template into

Response

The EmailTemplate object

idstring required

The ID of the email template

namestring required

The name of the email template

subjectstring required

The subject of the email template. Variables are supported via {{ variableName }}

bodystring nullable required

(Deprecated) The body of the email template. Always null since there are no plaintext emails

kind'html' | 'unlayer' | 'old_editor' | 'editor' required

The kind of the email template

template_htmlstring nullable required

The HTML representation of the rich text email. May be null

{"stackTrail":"components:schemas:EmailTemplate:properties:template_json","oasType":"schema","type":"unknown","description":"The JSON representing the rich text email template. May be null","nullable":true}
{"stackTrail":"components:schemas:EmailTemplate:properties:new_template_json","oasType":"schema","type":"unknown","description":"The new unlayer JSON template. May be null","nullable":true}
new_template_htmlstring nullable required

The new unlayer HTML template. May be null

metadataobject required

Arbitrary metadata associated with this email template

created_atstring required

The time when the email template was created in ISO 8601 format

enabled_atstring nullable

The time when the email template was enabled in ISO 8601 format

Changes

No recorded changes to this endpoint across all 1 revision of this API.