Reporting on AutoResponders via API

DustinR637
Rookie

Is any AutoResopnder data available through the API? For example, when I request the Email Campaign Collection (/v2/emailmarketing/campaigns) for a client, it does not return any AutoResponders, but only standard campaigns. Without AutoResponders showing up in that list, I don't see how to get the CampaignId for an AutoResopnder, and the CampaignId seems to be the key for all other AutoResopnder data.

 

I saw in another thread that some more AutoResponder data will be available in v3 of the API. Will that be out soon?

24 REPLIES 24
GregB3955
Brand Influencer
0 Votes

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

AnalyticsEdge
Marketing Legend
0 Votes

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.
GregB3955
Brand Influencer
0 Votes

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

AnalyticsEdge
Marketing Legend
0 Votes

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.
Resources
Developer Portal

View API documentation, code samples, get your API key.

Visit Page

Announcements

API Updates

Join our list to be notified of new features and updates to our V3 API.

Sign Up