MailMoo
ToolsCampaigns

mailmoo_campaign_get_context

Get everything about one campaign

The campaign's settings, the sequence inside it (including its sending schedule, sequence.timeTable), and how it is performing, in one call. Use this to answer questions about a campaign rather than fetching the pieces separately. Also returns mergeFields: the personalization variables this campaign's messages may use, which campaign_update_message validates against; and columns: the lead table's columns, whether AI fills each, and whether it can be edited by hand, for leads_bulk_update set_field and columnEquals filters.

Effect: Read. See Effects.

Permissions: Read analytics, Read campaigns.

Parameters

ParameterTypeRequiredDescription
campaignIdstringYesID of the campaign.
includearray of sequence, metricsNoWhich extras to fetch. Defaults to both.

On this page