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.

Create draft campaign from an existing draft campaign of type stock

Highlighted
Occasional Advisor

Create draft campaign from an existing draft campaign of type stock

I would like to automate the "copy" function of the web interface to get a copy of a draft campaign, that has content type of stock, update some fields, like name, and then save it as a new campaign.  Then use it to schedule a campaign to be sent out.

 

How do I do this with the V2 API?

 

It seems to only allow you to Add a campaign that uses custom HTML or XHTML rather than a pre-designed stock template.

1 REPLY 1
Highlighted
Employee

Re: Create draft campaign from an existing draft campaign of type stock

Hi,

 

I will certainly pass your feedback on.  Right now we don't have a campaign 'copy' feature in our APIs, and we have no way to get the html for a Constant Contact template.  You can only create emails using the API if you have the (X)HTML of your campaign.  Sorry for the limitation.

 

Best Regards,

Shannon W.

API 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