Project email templates

Retrieve a project email template

get/project_email_templates/{id}

Path parameters

idstring required

The ID of the project email template

Response

A ProjectEmailTemplate 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

bodystring nullable required

The body of the email template. If present, template_html and template_json must be null

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

The kind of the email template

template_htmlstring nullable required

The HTML of the email template. If present, body and template_json must be null

{"stackTrail":"components:schemas:ProjectEmailTemplate:properties:template_json","oasType":"schema","type":"unknown","description":"The JSON of the email template. If present, `body` and `template_html` must be `null`","nullable":true}
{"stackTrail":"components:schemas:ProjectEmailTemplate: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 required

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

Changes