We all started somewhere! Share your experience on the Get Advice: Let's Get Started Sweepstakes thread and be entered to win a $100 credit on your Constant Contact account.

CC Programming or Developer error


CC Programming or Developer error

Our web developer recently added a newsletter signup form on our website and integrated it with our active constant contact account. Problem we are having is, anyone who may have been on one of the older lists in our CC account are being rejected from signing up for one of our new lists offered on our website. I was udner the impression that people could be on multiple lists. So did the developer not code the sign up correctly which is causing these rejections? or will constant contact deny e-mail addresses for a new list if they are already on some other old list?


Contacts are certainly allowed to be on multiple lists in your account. When creating a contact, the contact will be subscribed to any lists that are in the <ContactLists> element of the XML used to create that contact. Once a contact is created, you always have the option to Add or Remove a Contact from a List by performing an http PUT, where the XML contains a <ContactList> element for each list the contact should be subscribed to. To see which lists a contact is currently subscribed to, you can obtain a contacts information by contact id. If you do not know the contacts id, you can always search for a contact by email address.


For the example below, the contact would be subscribed to the lists 1, 11, 12, and 14. You can retrieve a collection of your contact lists by performing an http get on https://api.constantcontact.com/ws/customers/{user-name}/lists.


<entry xmlns="http://www.w3.org/2005/Atom">
<title type="text">Contact: u86597@example.com</title>
<author> </author>
<content type="application/vnd.ctct+xml">
<Contact xmlns="http://ws.constantcontact.com/ns/1.0/" id="http://api.constantcontact.
<ContactList id="http://api.constantcontact.com/ws/customers/joesflowers/lists/1"></ContactList>
<ContactList id="http://api.constantcontact.com/ws/customers/joesflowers/lists/11"></ContactList>
<ContactList id="http://api.constantcontact.com/ws/customers/joesflowers/lists/12"></ContactList>
<ContactList id="http://api.constantcontact.com/ws/customers/joesflowers/lists/14"></ContactList>

David J

Developer Portal

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

Visit Page