Mautic Advanced icon

Mautic Advanced

Consume Mautic API with advanced features

Segment → Get Many

AI-generated

Summary

Retrieve multiple segments from Mautic with control over pagination, filtering, ordering, and output detail.

Inputs

  • Authentication (required) — Select the authentication method to use: Credentials or OAuth2.
  • Return All — Choose whether to fetch all segments or limit the number returned.
  • Limit — Specify the maximum number of segments to return if not returning all.
  • Options — Additional filtering and sorting options including search string, order by field and direction, published only filter, and minimal data output.

Output shape

a list of segment objects

Results can be paginated or full depending on 'Return All'; supports optional filters and sorting that affect the returned segments.

Examples

Example 1: Retrieve up to 50 published segments ordered by name descending

Authentication: Credentials; Return All: false; Limit: 50; Options: Published Only: true; Order By: 'name'; Order By Direction: DESC

Discussion