Skip to main content
GET
Get email template

Authorizations

Authorization
string
header
required

Personal access token, sent as Authorization: Bearer <token>.

Path Parameters

app_id
string
required

ID of the app the emails belong to.

template_id
string
required

ID of the email template to get. Get it from id in List email templates.

Response

The email template.

An email template with its HTML.

id
string
required

ID of the template.

Example:

"68c1f0a2b3d4e5f6a7b8c9d0"

app_id
string
required

ID of the app the template belongs to.

Example:

"6820f3a4e7b91d003c45a1f2"

name
string
required

Name of the template, from its file name: the template in base44/emails/Welcome.html is Welcome. A workflow's send email action or a backend function's SendEmail call picks the template by this name.

Example:

"Welcome"

created_date
string<date-time>
required

When the template was created, as a UTC timestamp in ISO 8601 format.

Example:

"2026-09-14T08:30:12.418000Z"

updated_date
string<date-time>
required

When the template last changed, as a UTC timestamp in ISO 8601 format.

Example:

"2026-09-14T08:30:12.418000Z"

html
string
required

The email as inbox-ready HTML. Its <title> is the default subject line. {{variable}} placeholders, such as {{first_name}}, stay as written. The sender fills them in.

Example:

"<!doctype html><html><head><title>Welcome to Acme</title></head><body>Hi {{first_name}}</body></html>"