Creating a New List

webservices
Administrator

A new Contact list is created by making an HTTP POST to the collection URI.

 

https://api.constantcontact.com/ws/customers/{username}/lists

 

The POST body must contain an Atom entry element that includes the content for the new list. The Content-Type of the request must be set to application/atom+xml. Here is a representative entry:

 

<entry xmlns="http://www.w3.org/2005/Atom">
<title/>
<updated>2008-07-23T14:21:06.407Z</updated>
<author />
<id>data:,none</id>
<updated>2008-04-16</updated>
<content type="application/vnd.ctct+xml">
<ContactList xmlns="http://ws.constantcontact.com/ns/1.0/">
<Name>A New List</Name>
<OptInDefault>false</OptInDefault>
<SortOrder>99</SortOrder>
</ContactList>
</content>
</entry>

 

Community Knowledge Base

Learning & Resources

We take questions asked by customers on the Community and expand on them to help you find answers fast, getting you back to using Constant Contact's suite of amazing tools in no time.

Read More

  • Avatar

    Support Tips

    Social Media

    "There's a multitude of ways to engage your audience through us using your social platforms - via ads, social post metrics, email links, and more! " - Will

    See Article
  • Avatar

    Support Tips

    Call-To-Action Links

    "Target your most engaged contacts by creating a segment. Create a special offer or show your appreciation!" - Caitlin

    See Article
  • Avatar

    Support Tips

    Welcome Your Audience

    "Greet new contacts with one or more automated Welcome Emails depending on their interests or your business goals." - Nick

    See Article