The Community is hosting an End of Summer sweepstakes! Participants must complete tasks to earn tickets that will enter them with a chance to win a free year of Constant Contact and other great prizes!*
*No Purchase Necessary. For Official Rules, visit here. Constant Contact’s End of Summer 2020 Sweepstakes ends on October, 20, 2020 at 11:50 PM EST.

Getting members list with C# API

Occasional Contributor

Getting members list with C# API



I want to get the contacts present in the contact list, i have used the C# API function  getListMembers bbut it throws exception 404 not found, can you kindly provide me the code for this functionality, kindly reply ASAP, waiting for your reply,







Re: Getting members list with C# API

Hi Tippua


getListMembers requires you to pass a link (URI to the member), your authentication data and an OUT string for the next link if one exists.  


A 404 in this instance usually means the URI is incorrect.  Below is a snippit of code that pulls members from  list ID 1:


string link = "/ws/customers/" + authdata.Username + "/lists/1";
string nextChunk = "";

Utility.getListMembers(link, authdata, out nextChunk);


If you need further assistance, please let me know and I'd be more than happy to review the code you've created.




Andrew Weber
Associate Product Manager for EventSpot
Developer Portal

View API documentation, code samples, get your API key.

Visit Page

Constant Contact 2020 End of Summer Community Sweepstakes!

The Constant Contact User Community is hosting a sweepstakes. The more you participate, the more chances you have to win! Read on to learn more...

Read More