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?
Could you elaborate on what you mean by "the campaigns that the client has running" - do you mean autoresponder series?
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?
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.
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
From Australia to Zimbabwe, and everywhere in between, companies count on Campaign Monitor for email campaigns that boost the bottom line.Get started for free