List subscriber campaigns

Hi,

I'm looking for a way of listing out the campaigns that a subscriber is signed up to for one of our clients.  this should only show the campaigns that the client has running, so won't just be based upon their email address.  the idea is that we'd be able to give people the ability to unsubscrie from multiple campaigns at the same time.  looking through the api documentation i can't see anything that looks like it will do this, has anyone else managed to do this?

Cheers

Tony

Mathew Mathew, 5 years ago

Hi Tony,

Could you elaborate on what you mean by "the campaigns that the client has running" - do you mean autoresponder series?


Get in touch with us on Twitter: http://twitter.com/campaignmonitor
We're also on Facebook: http://facebook.com/campaignmonitor
tperry, 5 years ago

Mathew,

Thanks for the response, what i mean is basically a list that i assume is produced from the get client campaigns call ()http://www.campaignmonitor.com/api/clients/#getting_client_campaigns).  then with this list we'd like to be able to tell users which lists they are signed up to, and then give them the option of unsubscribing all at once through the website.

So if the call above returns campaigns, a,b,c,d,e,f, we'd like to then provide this list as check boxes down the page, and indcate if the entered email address is subscribed to the list.  is there a call that we can pass say a clientID, an email address, and that would return this information?

Tony

zeski, 5 years ago

Hi Mathew

I was wondering if there was an answer to this as I am working on a system that requires the same "subscriber check" functionality that the OP has described.

Paul

jamesd jamesd, 5 years ago

This is easily doable by combining a few pieces of API functionality. Given a campaign monitor client and a subscriber's email address:

1. Get the campaigns: http://www.campaignmonitor.com/api/clients/#getting_client_campaigns
2. Get the lists for each campaign: http://www.campaignmonitor.com/api/campaigns/#campaign_listsandsegments
3. For each list, check whether a subscriber with the given email address exists using: http://www.campaignmonitor.com/api/subscribers/#getting_subscriber_details

Join 200,000 companies around the world that use Campaign Monitor to run email marketing campaigns that deliver results for their business.

Get started for free
1-888-533-8098