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, 4 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

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