List segments

Returns all segments for the specified newsletter list with a live subscriber count for each segment.

Archived Segments

By default only active (non-archived) segments are returned.
Pass ?archived=true to include archived segments as well.

Subscriber Count

The subscriberCount field reflects the live number of subscribers matching the segment
conditions at the time of the request. Counting is one table scan per segment, so it has a
time budget of about 20 seconds: when it runs out, the segments not counted yet get
subscriberCount: null and the response carries countsPartial: true.
Pass ?counts=0 to skip the counting entirely (all counts are null) and get the list at once.

Concurrency

A client can run one list segments / list subscribers / export request at a time, whichever
list it asks for. A parallel request gets 429 with a Retry-After header.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
integer
required

Newsletter (list) ID

Query Params
boolean
Defaults to false

Set to true to include archived segments in the response

boolean
Defaults to true

Set to 0/false to skip the subscriber counts (subscriberCount is then null)

Responses

Language
Credentials
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json