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.

REST API for copy campaign feature in gui

Highlighted
Occasional Contributor

REST API for copy campaign feature in gui

Hey,

 

Is there a REST API which can be used to achieve the copy campaign feature from the GUI?

 

Thanks.

1 REPLY 1
Highlighted
Moderator

Re: REST API for copy campaign feature in gui

Hello,

Thank you for reaching out to Constant Contact API Support.

 

At this time there is not a way to make a direct copy of an email using the Constant Contact API.

 

If you are trying to make a copy of a custom XHTML email, you can use the API to GET the email content of the campaign (as shown here: http://developer.constantcontact.com/docs/email-campaigns/email-campaign-resource.html), and can then POST a new email campaign using that HTML code (as shown here: http://developer.constantcontact.com/docs/email-campaigns/email-campaigns-collection.html?method=POS...).

 

Please note that this will not work with emails created using our email wizard editor, as our API will not provide the HTML code for emails created this way. Also, these emails would not work an any case as they contain code that is not supported by our custom email template type.

 

If you have any other questions, please let me know!

 

Sincerely,

David B.
API Technical Support Specialist

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