30 days free. No credit card. Full access from the moment you connect your site.

Start free trial

MailerPress Update Template

mailerpress/update-template updates template metadata: name, categories and optionally the usage type.

MailerPress requires name and at least one entry in categories on every update. The endpoint does not accept partial updates.

At a glance

Abilitymailerpress/update-template
ToolsetMailerPress — toolset/mailerpress
GroupMailerPress › Templates
RequiresAcrossAI Pro, plus MailerPress active on the site
Capabilitymanage_options
SafetyWrites data
RepeatableIdempotent — running it twice leaves the same result
Ships inAcrossAI Pro 0.9.16 and later

How it works

So changing the categories means sending the name too, and changing the name means sending the categories. A read-then-write is unavoidable, which makes mailerpress/get-template or the listing the required first call.

That requirement also makes it easy to lose categories by accident: sending a name change with a single category replaces the full category list with that one.

Unknown category names are auto-created here as on creation, so a typo during a rename both loses the old categories and invents a new one.

The content body is not updated here. mailerpress/save-template-content handles that, which keeps the metadata write and the body write separate — and means a metadata update cannot disturb the artifacts.

Idempotent.

Input

NameTypeRequiredWhat it is
idintegerYesThe template.
namestringYesRequired even when unchanged.
categoriesarrayYesAt least one. Required even when unchanged, and replaces the list.
usage_typestringNoWhat kind of email the template is for.

What comes back

NameTypeWhat it is
templateobjectThe template after the write.
successbooleanWhether the call completed.
messagestringA one-line summary of what happened, suitable for showing a human.
error_codestringPresent only on failure — a stable machine-readable reason, such as a missing field, a wrong field type or an unmet confirmation.

Example

Ask your assistant:

Rename that template.

It resolves to one call:

{
  "ability": "mailerpress/update-template",
  "parameters": {
    "id": 5,
    "name": "Monthly newsletter (2026)",
    "categories": ["Newsletters"]
  }
}

Worth knowing

  • No partial updates — both fields are always required.
  • Sending one category replaces the full list.
  • A typo during a rename both loses categories and creates one.
  • The body is a separate ability, so metadata writes cannot disturb it.

Related abilities


Get the plugins:
AcrossAI Abilities Manager · AcrossAI MCP Manager

Browse the rest: Every ability, by category


Keep reading