Actions36
- Automation Actions
- Campaign Actions
- Email List Actions
- Subscriber Actions
- Tag Actions
- Transactional Mail Actions
Campaign → Get Many
AI-generatedSummary
Retrieve multiple campaigns from Mailcoach, either all campaigns or limited to a specified number.
Inputs
- Return All — Boolean flag to determine whether to return all campaigns or limit results.
- Limit — Maximum number of campaigns to return when 'Return All' is false; must be between 1 and 1000.
Output shape
an array of campaign objects representing the retrieved campaigns
If 'Return All' is true, all campaigns are returned; otherwise, results are limited to the specified 'Limit'. Results are returned in a single array without pagination envelopes.
Examples
Example 1: Retrieve all campaigns
Set 'Return All' to true.
Example 2: Retrieve up to 50 campaigns
Set 'Return All' to false and 'Limit' to 50.