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

Start free trial

MailerPress Get Template

mailerpress/get-template fetches a single template by ID, including its stored HTML and JSON body.

Use it before mailerpress/create-campaign to see what a template actually contains.

At a glance

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

How it works

Templates carry the same two-artifact structure as campaigns: a block-editor JSON tree and a compiled HTML body. A template with one and not the other produces campaigns with the same gap.

So a campaign built from a template with no compiled HTML starts life unable to send, and the problem originated in the template rather than in the campaign.

That makes this read worth doing before building rather than after — the same artifact check mailerpress/check-campaign-send-readiness performs for campaigns, done by eye for the template.

The categories come back too, which on a site with many near-duplicate categories is how you work out which one a template is actually filed under.

The body is the largest part of the response, which is why the listing omits it.

Input

NameTypeRequiredWhat it is
idintegerYesThe template.

What comes back

NameTypeWhat it is
templateobjectName, categories, usage type and the stored HTML and JSON body.
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:

What is in that template?

It resolves to one call:

{
  "ability": "mailerpress/get-template",
  "parameters": {
    "id": 5
  }
}

Worth knowing

  • Templates have the same two-artifact structure as campaigns.
  • A template missing its compiled HTML produces campaigns that cannot send.
  • Check before building, not after.
  • The body is why the listing omits it.

Related abilities


Get the plugins:
AcrossAI Abilities Manager · AcrossAI MCP Manager

Browse the rest: Every ability, by category


Keep reading