publish_template
Publish a template draft to make it live for email campaigns. Use when you need to activate the latest version of a template via the SendHustle API.
Instructions
Publish a template, making its latest draft live (POST /templates/:id/publish).
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": {
"id": "<id>"
},
"name": "publish_template"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The template id. |