Retrieve all subscribers


I'm using .NET wrapper for integration between our application and Campaign Monitor. We'd like to retrieve all subscribers that we have at CM via API (all records + all custom fields). But I can not find a function that would do this job... Can anyone tell me if CM API supports this?

terryt terryt, 5 years ago


You'll want to do something similar to:

createsend_dotnet.Client client = new createsend_dotnet.Client("<Client ID goes here>");

foreach (createsend_dotnet.BasicList basicList in client.Lists())
    createsend_dotnet.List list = new createsend_dotnet.List(basicList.ListID);

    createsend_dotnet.PagedCollection<createsend_dotnet.SubscriberDetail> subscribers = 
        list.Active(new DateTime(2010, 1, 1), 0, 100, "email", "asc");

Have a look at this page for more information on what our API accepts.

I hope this was helpful but let me know if you have any further questions!


Terry Tice
Campaign Monitor

See why 200,000 companies worldwide love Campaign Monitor.

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