How do I get a list of unsubscribes or opt-outs thru API? I saw a 'Contact Tracking' method and a 'Campaign Tracking' method but each one requires you to put the contact id or the campain id. If I want to get a full list of unsubscribes, do I have to iterate thru all my campaign ids?
Solved! Go to Solution.
You can use the Contacts endpoint specifiying the opt out status, like:
GET: https://api.constantcontact.com/v2/contacts?limit=500&status=OPTOUT
See more on http://developer.constantcontact.com/docs/contacts-api/contacts-index.html#contact_status.
There's also Wrappers on multiple technologies for ease of use.
https://developer.constantcontact.com/libraries/libraries.html
You can use the Contacts endpoint specifiying the opt out status, like:
GET: https://api.constantcontact.com/v2/contacts?limit=500&status=OPTOUT
See more on http://developer.constantcontact.com/docs/contacts-api/contacts-index.html#contact_status.
There's also Wrappers on multiple technologies for ease of use.
https://developer.constantcontact.com/libraries/libraries.html
Thank you for your response! What is described above is definitely the best method to get a complete list of all unsubscribes on your account. One additional piece worth noting that is that Constant Contact's API will paginate output if the number of results is large enough. We have a page discussing paginated output here: https://developer.constantcontact.com/docs/developer-guides/paginated-output.html
Best Regards,
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