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.

Creating a list

Highlighted
New Member

Creating a list

I have a PHP form but I am having a hard time understanding hoe to creat a list. I have been doing some research outside of CC but these are the links  that I am trying to work with.


http://developer.constantcontact.com/doc/activities#add_remove_contacts


http://developer.constantcontact.com/doc/contactLists


any help would be greatfull


Thank you


          Casey Gould

1 REPLY 1
Highlighted
Employee

Creating a List

Hello Casey,



In order to create a list using our API's, you would want to do a POST HTTP call to the list URI on our API servers, sending over the appropriate XML.



Our list URI is https://api.constantcontact.com/ws/customers/(USERNAME)/lists and this is where you would do the POST call to. You can also find the XML structure that you need in order to create the list here.



Once a list is created, it returns you the list XML, and you can then use this to get the List ID, which you would like to add contacts to the list.



If you have any questions regarding this, please feel free to ask here.



Regards,

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
Featured