Our v3 API is now available! Learn more by visiting the v3 developer portal . Creating new v2 API keys is no longer supported.

Sample Code

Looking for applications already written in your favorite language or just a place to get started with the API? The applications below have been approved by Constant Contact and are yours to download, study, or modify. We encourage you to contribute to the developer community by submitting any apps you want to share.

Email Sign up Form - C#

This code sample creates an email sign up form that adds individual contacts to the user's contact collection; written in C#.

Go to GitHub

Create and Send Email - C#

This code sample creates and sends an email campaign message.

Go to GitHub