« Back to Documentation Overview

campaignsForEmail – v1.3

 campaignsForEmail(string apikey, string email_address, array options)

Retrieve all Campaigns Ids a member was sent

Section
Helper
Parameters
apikey a valid API Key for your user account. Get by visiting your API dashboard
email_address the email address to unsubscribe OR the email "id" returned from listMemberInfo, Webhooks, and Campaigns
options optional - extra options to modify the returned data.
stringlist_idoptional - A list_id to limit the campaigns to
boolverboseoptional - Whether or not to return verbose data (beta - this will change the return format into something undocumented, but consistent). defaults to false
Returns
array An array of campaign_ids the member received