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.

Associate contact list to campaign through REST API

Highlighted
Occasional Contributor

Associate contact list to campaign through REST API

Hey,

Is there an API by which i can associate a contact list to a campaign. This can be done using the GUI, but is it possible via an API?

 

Thanks.

1 REPLY 1
Highlighted
Moderator

Re: Associate contact list to campaign through REST API

Hello,

 

This can be done through our API. Both for emails created through our API and for emails created through the website. Here is where you can find the API documents detailing how this can be done.

 

Pay specific attention to the data pair for "sent_to_contact_lists" as that is how you specify which list your email will be sent to.

 

For emails created through the Constant Contact website. http://developer.constantcontact.com/docs/email-campaigns/email-campaign-resource.html?method=PUT

 

For emails created through the API. http://developer.constantcontact.com/docs/email-campaigns/email-campaigns-collection.html?method=POS...

 


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