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

Start free trial

MailerPress List Campaigns

mailerpress/list-campaigns returns a paginated list of MailerPress campaigns, filterable by status.

The status values are the campaign lifecycle: draft, scheduled, in progress, sent.

At a glance

Abilitymailerpress/list-campaigns
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

In-progress is the one worth watching. A send is a batch: MailerPress splits the recipients into chunks and hands them to Action Scheduler, which dispatches them over time. So a send is a process with a state rather than an event that happened.

So a campaign sitting in progress is either mid-send or stalled, and nothing in the status distinguishes the two — mailerpress/get-campaign-batches and mailerpress/get-batch-chunks do.

Draft campaigns accumulate. A site that has been running for a while has dozens, most of them abandoned, and the list is where that becomes visible.

The listing is metadata. The content — both versions of it — comes from mailerpress/get-campaign and mailerpress/get-campaign-send-html.

Input

NameTypeRequiredWhat it is
statusstringNodraft, scheduled, in_progress or sent.
per_pageintegerNoRows per page.
pageintegerNoPage number.

What comes back

NameTypeWhat it is
campaignsarrayEach campaign with its ID, name, subject and status.
totalintegerHow many matched.
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 campaigns do we have?

It resolves to one call:

{
  "ability": "mailerpress/list-campaigns",
  "parameters": {}
}

Worth knowing

  • In-progress covers both mid-send and stalled. The batch reads tell them apart.
  • Draft campaigns accumulate and nothing prunes them.
  • Content is a separate call, in two versions.
  • Read-only.

Related abilities


Get the plugins:
AcrossAI Abilities Manager · AcrossAI MCP Manager

Browse the rest: Every ability, by category


Keep reading