We have a requirement where we need the list of contacts under a particular campaign. For example today if we send a email campaign to 1000 users and just by providing the campaign id I should get the list of contact ids. Is it possible to get these records? Please do let me know the details.
It is possible to get the List Id's that the email was sent to however it is not possible to get a list of the specific contacts directly from the email details.
While it is possible to drill down and retrieve the contacts based on the list id, it is not 100% accurate as the return data will be the current list of contacts on that list and not necessarily the contacts that were on the list at the time the email was sent.
Support Engineer, Constant Contact
So the only way for me to see the list of users who got the email campaign and their corresponding actions is to use the website? Is there any plans to add this functionality to the api?
You can get the list of sends for any given campaign by accessing the events collection for that campaign. Here is a sample of how the request would look:
Please note, this is a pagenated return list of 50 contacts at a time, you would have to loop through to get the full list of contacts. You can find more information on the Events collection for campaigns here: http://developer.constantcontact.com/doc/campaignEvents.
Currently there is no way to export the sends list to a CSV file through the API as there is in the UI. We are looking to add this functionality in the future. So far, the demand has been low though. If you are looking for some sort of Export feature through our Bulk Activities API, please let me know and I'll pass that on to our Product Strategy group.
As Dave mentioned above you can do a GET to your events/sends collection to gather your information. You can read more about it here.
This would be useful for me too.
Every month I give our sales team a report on their customers' interactions with our monthly newsletter. If I could easily pull a list of contacts, the links they clicked, and their opt-out or fwd activities via csv file, that would be great.
Marketing Coordinator, Norlight, Inc.