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.

Creating a list

CaseyGould
Participant

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
bsoder
Employee

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