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.

SAMPLE: (PHP) Create a new contact from your member registration form


Provided your Apache (or

Provided your Apache (or whichever platform you're running) already has SSL Modules installed and configured, this is all you need to do.  If you do not, that is actually something you will want to go to your host or vendor for support with as it is beyond the scope of the Constant Contact API.

Dave Berard
Senior Product Manager, Constant Contact
Occasional Participant

For anyone else needing to

For anyone else needing to correct their code to operate over BASIC authentication, you need to also change this line:

$request ="" . $UN . "/contacts";


$request ="" . $UN . "/contacts";


Notice the request is now operating over https.  I guess Dave missed that one..

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