cancel
Showing results for 
Search instead for 
Did you mean: 

Reporting on AutoResponders via API

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.
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?

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.
Participant

Re: Reporting on AutoResponders via API

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

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.
Still need help?
You can post a new message in the Community or find us on Twitter Mon-Fri 8am - 8pm ET. We've got real people waiting to help you out. Click below to start a conversation!