Join the Ready, Set, Send Challenge Week 3. Share your QR code or landing page and win a badge!

V3: HTML Content - Email Activites

JamesC400
Rookie
0 Votes

Hi,

Usig V3 API, how would one get the body of an email_activity?  I tried to use ?include=html_content just like the API docs said but its giving me the error below. I tried it using the example one https://v3.developer.constantcontact.com/api_reference/index.html#!/Email_Campaigns/retrieveEmailCam... as well.

 

https://api.cc.email/v3/emails/activities/xxxxxxx?include=html_content

 

[ { "error_key": "validation.error.emailcampaignactivity.include.not.supported", "error_message": "Requested EmailCampaignActivity does not have the specified include" } ]

1 REPLY 1
Jimmy_D
Employee
0 Votes

Hi @JamesC400,

 

You are most likely requesting the HTML content of an email campaign that was created in our 3G editor. The HTML content is not available through the API for these campaigns. Only email campaigns that are listed as "custom code" in the website UI will display the HTML content in the API.


Regards,
Jimmy D.
Tier II API Support Engineer
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