emails_update_template
Update an email template by providing new HTML or drag-and-drop design content, specifying the editor type and required identifiers.
Instructions
Update a template
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"templateId": "<templateId>",
"updatedBy": "<updatedBy>",
"dnd": "<dnd>",
"html": "<html>",
"editorType": "<editorType>"
},
"name": "emails_update_template"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dnd | Yes | ||
| html | Yes | ||
| updatedBy | Yes | ||
| editorType | Yes | ||
| locationId | No | Defaults to GHL_LOCATION_ID when omitted. | |
| templateId | Yes | ||
| isPlainText | No | ||
| previewText | No |