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.

Different Password for API Key


Different Password for API Key

Is there a way to set a different password for the API key than the main constant contact account?  Porblem is whenever that password is changed, it affects the key access and creates an error.  Then we need to update the code to reflect the new password.  Ideally we want to set a different password for the key.


Also, we've noticed that sometimes we get locked out of the account.  Why does that happen?


Re: Different Password for API Key

Hey David,


As of right now there is only one password and username per account.  However you can use oAuth in your integration so that you wouldnt need to supply your password which would resolve your issue.  You can read more about the oAuth flow here.

Ryan Davis
Quality Engineer

Re: Different Password for API Key

To answer your second question, it's likely that you're being locked out of the account when you update your password and your API integration continues to try to use the old one.  We disable access to your account after 6 failed attempts through the API and the UI.

Dave Berard
Senior Product Manager, Constant Contact
Tags (1)
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