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.

Constant Contact List Option


Constant Contact List Option

The API works fine returning the contact, but not the list option associated with the contact.  I'm trying to read the correct ContactOptInList for a contact, but the API returns only the default  (ex General Intrest).  What is the correct method to return the contact's list options (so we can Identify what selection they made). Also, the correct method to modify a contact's list option.


Re: Constant Contact List Option



I want to be sure I understand what you mean.  You would like to be able to use the API to pull a contact and determine what list they signed up for?


If this is the case, whenever you pull a contacts details, it shows the ContactLists nodes and has every contact list the contact is in.  You can then modify each ContactList node and either remove them, change them, or add new ones, and do a PUT call back to the contacts URI, which will update the contact with new contact lists.


If you have any other questions, or if I misunderstood your question, 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