cancel
Showing results for 
Search instead for 
Did you mean: 

Creating a New List

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>

 

webservices