GET
/
project_email_templates
/
{id}
curl --request GET \
  --url https://api.pocketflows.com/project_email_templates/{id} \
  --header 'Authorization: Basic <encoded-value>'
{
  "id": "<string>",
  "name": "<string>",
  "subject": "<string>",
  "body": "<string>",
  "template_html": "<string>",
  "template_json": "<string>"
}

Authorizations

Authorization
string
header
required

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

Path Parameters

id
string
required

The ID of the project email template

Response

200 - application/json
A `ProjectEmailTemplate` object
id
string
required

The ID of the email template

name
string
required

The name of the email template

subject
string
required

The subject of the email template

body
string | null
required

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

template_html
string | null
required

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

template_json
string | null
required

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