Skip to content

Mail

mail_template_update

Update a draft template (published templates are not editable)

Tool

mail_template_update

Update a draft template (published templates are not editable)

Update a draft template (published templates are not editable)

Behavior

HTTP
PATCH /mail/templates/:id

Arguments

NameTypeRequiredDescription
idstringTemplate id
htmlstringNo description in the catalog.
namestringNo description in the catalog.
textstringNo description in the catalog.
subjectstringNo description in the catalog.
variablesarrayNo description in the catalog.

Response

FieldTypeAlwaysDescription
idstring
htmlstring
namestring
textstring
statusstring
subjectstring
createdAtstring
updatedAtstring
variablesarray

Try it

Update a draft template (published templates are not editable).

When to use

Update a draft template (published templates are not editable)

Example

Ask your agent something like this:

Update a draft template (published templates are not editable).

The agent will invoke mail_template_update with these arguments:

{
  "id": "<id>"
}

Esc

Start typing to search the docs.

navigateselect