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.

C# Library. SearchContactByEmail does not show ContactLists

Regular Visitor

C# Library. SearchContactByEmail does not show ContactLists

Hi there,


We are implementing the C# library from your code samples section.


So far everything is going well and we can interact with our contacts. 


However, when using the Utility.SearchContactByEmail() method the ContactLists property does not contain any ContactList information for any search - always returns a count of 0 with no children. I have checked that contacts are assigned to lists in the ConstantContact account area; and they do. 


Could anybody direct me where I might be going wrong?


Kind regards


Re: C# Library. SearchContactByEmail does not show ContactLists



The search by email API does not return the full contact.  In order to get the full contact information you must perform the GetContactDetailsById method.  You would want to pass the contact ID which you can get in the search by email method.


If you have any questions please let me know.



Benjamin Soder
NOC Analyst
Constant Contact
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