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

Start free trial

MailerPress Get Campaign Batches

mailerpress/get-campaign-batches lists all send batches for a campaign with per-batch statistics: opens, clicks and unsubscribes.

A campaign can have several batches, which is what makes this a history rather than a status.

At a glance

Abilitymailerpress/get-campaign-batches
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

Several batches arise from resending to a different audience, from a paused and resumed send, or from a deliberate split test.

Per-batch statistics are what make that useful. A campaign sent twice to different lists has two engagement profiles, and a campaign-level total flattens them into one number that describes neither.

The batch ID is what the contact-level reads take — mailerpress/list-campaign-opened-contacts and its siblings are all per batch rather than per campaign, for the same reason.

A campaign with no batches has never been sent, whatever its status says.

Input

NameTypeRequiredWhat it is
idintegerYesThe campaign ID.

What comes back

NameTypeWhat it is
batchesarrayEach batch with its ID, state and statistics.
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:

How did that campaign perform?

It resolves to one call:

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

Worth knowing

  • Several batches per campaign is normal — resends, pauses and splits.
  • A campaign-level total flattens distinct audiences into one meaningless number.
  • The contact-level reads all take a batch ID.
  • No batches means never sent.

Related abilities


Get the plugins:
AcrossAI Abilities Manager · AcrossAI MCP Manager

Browse the rest: Every ability, by category


Keep reading