Mautic Advanced icon

Mautic Advanced

Consume Mautic API with advanced features

Campaign → Get Contacts

AI-generated

Summary

Retrieve a list of contacts associated with a specific campaign in Mautic, supporting pagination, filtering, sorting, and authentication.

Inputs

  • Authentication — Select authentication method to connect to Mautic API: Credentials or OAuth2.
  • Campaign ID (required) — The unique identifier of the campaign whose contacts you want to retrieve.
  • Return All — Whether to return all contacts or limit the number of results.
  • Limit — Maximum number of contacts to return if Return All is false.
  • Options — Additional parameters to filter or sort the contacts, including 'Order By' (column to sort), 'Order By Dir' (sort direction), and 'Search' (search string or command to filter contacts).

Output shape

a JSON array of contact objects associated with the specified campaign.

Supports returning all contacts with pagination or a limited subset. Supports filtering and sorting based on available contact fields. Errors may occur if the campaign ID is invalid or authentication fails.

Discussion