getEmailTemplate
Retrieve a specific email template by ID, optionally including its HTML body for editing.
Instructions
Get a single email template - Fetch a single emailtemplate record. Read-only.
Use when: fetching one template's HTML body and subject for edit.
Required: email_id.
Lean-by-default: email_body is stripped. Set include_body=1 to restore it (always do this when you need to edit the HTML).
See also: listEmailTemplates (enumerate many).
Returns: { status: "success", message: [{...record}] } - the message array contains 1 record when found. Record omits email_body unless include_body=1. Empty or HTTP 404 when not found.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| email_id | Yes | ||
| include_body | No | Opt in to return the full `email_body` HTML. Default stripped — `email_body` is the heaviest field on the row. Set `include_body=1` when you actually need the HTML to edit it. |