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.

400 error trying to add a new contact

Occasional Participant

400 error trying to add a new contact

getting a 400 error when trying to add a contact.

Here's then XML


<?xml version="1.0" encoding="UTF-8"?>

<entry xmlns="">



    <author><name>CTCT Samples</name></author>


    <summary type="text">New Contact</summary>

    <content type="application/vnd.ctct+xml">

        <Contact xmlns="">


            <FirstName>My Name</FirstName>



            <CompanyName>Site-Seeker, Inc.</CompanyName>
































                <ContactList id=""/>






Post worked successfully


Posting this to my Contact Collection worked successfully.  This usually means that the contact list ID that you have (ID 2) is not a valid list ID.  You would want to get a list of valid lists that you have in your account by doing a GET http request on your List collection URI.  This will give a list of the lists in your account, and they will have the List ID that you will need to specify when adding a contact.


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