Skip to content

Mail

mail_template_publish

Publish a template (draft -> published)

Tool

mail_template_publish

Publish a template (draft -> published)

Publish a template (draft -> published)

Behavior

HTTP
POST /mail/templates/:id/publish

Arguments

NameTypeRequiredDescription
idstringTemplate id to publish

Response

FieldTypeAlwaysDescription
idstring
htmlstring
namestring
textstring
statusstring
subjectstring
createdAtstring
updatedAtstring
variablesarray

Try it

Publish a template (draft -> published).

When to use

Publish a template (draft -> published)

Example

Ask your agent something like this:

Publish a template (draft -> published).

The agent will invoke mail_template_publish with these arguments:

{
  "id": "<id>"
}

Esc

Start typing to search the docs.

navigateselect