How can we do an API call to get contacts from a specific list?
It seems you don't support a "list_id" parameter for the contacts API? This would seem to be a fairly common request.
Hello,
Thanks for posting on the forums. We have a group of ContactList endpoints, one of which will allow you to retrieve the membership of a particular list. Details on the endpoint are here:
http://developer.constantcontact.com/docs/contact-list-api/contactlist-membership-collection.html
The short of it is, make a GET call to the following URL:
https://api.constantcontact.com/v2/lists/{listId}/contacts
You will get a paginated response back that contains an array of contacts in the particular list. This will allow you to retrieve contacts from a list. I hope the information helps.
Andrew B.
API Support, Constant Contact
The holidays have come and gone. For many seasonal businesses, this means the rush of shoppers has decreased as well. Instead of turning off the lights and waiting for spring, make your email marketi...
See Article