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.

displaying campaigns on our website

Highlighted
Member

displaying campaigns on our website

I'm attempting to get links to all our campaigns displaying on our website for our users to view. I've been going through the examples and have been attempting to use the getCampaigns function. I need to just grab a list of our public campaigns without going through the authentication, is this possible? Is there an easier way to accomplish this I should look into? 

1 REPLY 1
Highlighted
Employee

Re: displaying campaigns on our website

Hello,

If you are looking to grab links for the campaigns displaying on your website this is not something that can be done through the API. The reason this is not possible is because, when using the API to Get Campaigns, it will only return the name of the campaigns and cannot provide any links to them. Also if you are trying to use the API you do have to authenticate in order to have access to it.

Using the Archive Homepage in our Email Archive product would be the best way to accomplish this as it is designed for this functionality. Currently there is no API access to the Archive.

I hope this helps but if you have more questions please let me know.

Sincerely,
Erin Bossard
API Support

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