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

Start free trial

MailerPress Pro List Segments

mailerpress-pro/list-segments returns a paginated list of MailerPress Pro segments, with an optional search on the name.

A segment is a saved set of conditions rather than a saved set of contacts.

At a glance

Abilitymailerpress-pro/list-segments
ToolsetMailerPress Pro — toolset/mailerpress-pro
GroupMailerPress Pro › Segments
RequiresAcrossAI Pro, plus MailerPress with its Pro add-on 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

That distinction is the thing to hold on to. A list is a fixed membership — contacts are added and removed. A segment is a query evaluated when it is used, so its membership changes as the contacts do, without anybody touching it.

Which means a segment named “Lapsed customers” can be empty today and hold four hundred people next month, and nothing was edited.

This read returns the segments and their definitions rather than their current members. For members, mailerpress-pro/get-segments-for-contact evaluates a named segment and returns who currently satisfies it.

Searching by name is the only filter. Segments accumulate on an established install, and the names are the only thing distinguishing “Active 30d” from “Active 30 days”.

Input

NameTypeRequiredWhat it is
searchstringNoSearch on the segment name.
per_pageintegerNoRows per page.
pageintegerNoPage number.

What comes back

NameTypeWhat it is
segmentsarrayEach segment with its name and conditions.
totalintegerHow many exist.
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 segments do we have in MailerPress?

It resolves to one call:

{
  "ability": "mailerpress-pro/list-segments",
  "parameters": {}
}

Worth knowing

  • A segment is a query, not a membership. It changes as contacts do.
  • This returns definitions; use the contacts read for current members.
  • Name is the only filter, and near-duplicate names are common.
  • Read-only.

Related abilities


Get the plugins:
AcrossAI Abilities Manager · AcrossAI MCP Manager

Browse the rest: Every ability, by category


Keep reading