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

Start free trial

MailerPress Get Campaign

mailerpress/get-campaign fetches a single campaign: its name, subject, status, content, sender information and scheduling metadata.

The content it returns is the block tree, not the compiled HTML.

At a glance

Abilitymailerpress/get-campaign
ToolsetMailerPress — toolset/mailerpress
GroupMailerPress › Campaigns & Sending
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

A campaign holds its content twice: a block-editor JSON tree, which is what the editor shows, and a compiled HTML artifact, which is what recipients receive. They are stored separately and can disagree.

So this read tells you what the editor would show and not what a recipient would receive. For that, mailerpress/get-campaign-send-html returns the compiled artifact.

Those two disagreeing is the central failure mode of campaign editing, and mailerpress/check-campaign-send-readiness is the ability that checks for it directly.

The sender information matters as much as the content. A campaign with no sender configured cannot be batched, and the failure arrives at send time rather than at save time.

The scheduling metadata says when a scheduled campaign will go, which on a campaign scheduled weeks ago is worth confirming before anybody edits it.

Input

NameTypeRequiredWhat it is
idintegerYesThe campaign ID.

What comes back

NameTypeWhat it is
campaignobjectName, subject, status, block content, sender information and scheduling.
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:

Show me that campaign.

It resolves to one call:

{
  "ability": "mailerpress/get-campaign",
  "parameters": {
    "id": 44
  }
}

Worth knowing

  • This is the editor’s content. The compiled HTML is a separate read.
  • The two disagreeing is the main way campaign edits go wrong.
  • No sender configured means the send fails at batch time.
  • Read-only.

Related abilities


Get the plugins:
AcrossAI Abilities Manager · AcrossAI MCP Manager

Browse the rest: Every ability, by category


Keep reading