Mailcoach icon

Mailcoach

Interact with Mailcoach API - Manage email lists, subscribers, campaigns, and transactional emails

Campaign → Get Clicks

AI-generated

Summary

Retrieve a list of clicks recorded for a specific Mailcoach campaign by its UUID.

Inputs

  • Campaign ID (required) — The UUID of the campaign for which to get click data.
  • Return All — Whether to return all click records or limit the number returned.
  • Limit — Maximum number of click records to return if Return All is false (1-1000).

Output shape

a list of click records, each representing a click event associated with the specified campaign

If Return All is true, all available click records are returned. Otherwise, the number of records returned is limited by the Limit parameter. The output is an array of click objects as returned by the Mailcoach API endpoint /campaigns/{campaignId}/clicks.

Examples

Example 1: Get up to 100 click events for a campaign

Set Campaign ID to the campaign's UUID, Leave Return All as false, and Limit as 100. The node outputs up to 100 click records for the campaign.

Example 2: Get all click events for a campaign

Set Campaign ID to the campaign's UUID and Return All to true. The node outputs all click records for the campaign regardless of count.

Discussion