I'm looking for a way to get subscriber info out of the API for a single subscriber. Something like a Subscriber.GetSubscriber function that would just return the subscriber info including custom fields and current subscribe state for that one subscriber.
Specifically, I'm trying to figure out a way to determine whether to call .AddWithCustomFields or .AddAndResubscribeWithCustomFields. I realize that if a subscriber exists and I call .AddWithCustomFields it will just update that record (which is great), but it doesn't seem to do that if the subscriber has unsubscribed previously and I can't see of any way to tell that via the API. Is there some function that will tell me if a Subscriber exists in the CM database under any state (Active, Unsubscribed, Deleted, etc.)?
I can let you in on a secret. Over the next couple of weeks, I will be working on some improvements on the API, mainly to documentation, but also on some new features. One of these is a GetSubscriber function, which returns all of the detail for a particular subscriber in a given list, including active/inactive state.
So you will be able to do what you are after shortly. Keep an eye on the blog for the announcement on when these changes are complete.
Awesome! I figured you guys must be up to something like that. It'll make the API so much more powerful. Thanks!
Someone else really interested in this feature. Hope it's going ok!
Hi campaignmonitor team,
How is this feature coming along? If it's not ready, is there another API that can be used to pull the custom user fields out of the database?
From Australia to Zimbabwe, and everywhere in between, companies count on Campaign Monitor for email campaigns that drive real business results.Get started for free