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.

Reporting on AutoResponders via API

Highlighted
Participating Solution Provider

Re: Reporting on AutoResponders via API

The v2 API has the capability to add emails to a list:

https://developer.constantcontact.com/docs/contacts-api/contacts-collection.html?method=POST

 

create a campaign:

https://developer.constantcontact.com/docs/email-campaigns/email-campaigns-collection.html?method=PO...

 

schedule the campaign:

https://developer.constantcontact.com/docs/campaign-scheduling/campaign-schedule-collection.html?met...

 

and report on the results:

https://developer.constantcontact.com/docs/campaign-tracking/summary-report.html

 

...so you could do it all from the API. 

Mike Sullivan is the founder of Analytics Edge, providing simple Excel-based report automation products for individuals and small businesses.
Highlighted
Participant

Re: Reporting on AutoResponders via API

I'm still just not seeing how I could add the contacts added in the first step to the campaign before sending it?

Highlighted
Participating Solution Provider

Re: Reporting on AutoResponders via API

You don't add a contact to a campaign, you add it to a list. Then you send the campaign to the list.

Mike Sullivan is the founder of Analytics Edge, providing simple Excel-based report automation products for individuals and small businesses.
Highlighted
Participant

Re: Reporting on AutoResponders via API

That's the part that I'm missing. How can I send a campaign to a list?

Highlighted
Participating Solution Provider

Re: Reporting on AutoResponders via API

Ah -- that is a step I overlooked. Using PUT to the campaign after it is created, you can add a list to it:

https://developer.constantcontact.com/docs/email-campaigns/email-campaign-resource.html?method=PUT

 

In the JSON body, you set the list ID

"sent_to_contact_lists": [{"id": "1"}]

Mike Sullivan is the founder of Analytics Edge, providing simple Excel-based report automation products for individuals and small businesses.
Highlighted
Occasional Advisor

Re: Reporting on AutoResponders via API

Hey Jimmy, any news on when Autoresponders will be added to the v3 API now?  A lot of our subscribers are asking this so I thought we should head to the source. 

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