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.

Having problems getting started...

Highlighted
Occasional Participant

Having problems getting started...

Trying to do a get through my browser using the account name (impact11) and my key and secret...  The URL I am trying is: https://api.constantcontact.com/ws/customers/impact11/contacts.  I have also tried impact and IMPACT.  I then try to enter my key as the user name and my secret as the password and it fails with a 401.  I tried impact, impact11 and IMPACT as user names and the key as the password as well.  None of those combos worked.


I am doing this through a browser as a test before I start building more complex functionality.


Am I doing something stupid?


Thanks!

1 REPLY 1
Highlighted
Employee

Hey There, You are not doing

Hey There,


You are not doing anything stupid however the login credentials can be considered confusing.


Your request URI (https://api.constantcontact.com/ws/customers/impact11/contacts) is correct however your username is most likely the cause of the 401 error. Since you are testing in a browser you should be prompted for a User Name and Password.


Your User Name is going to be the combination of your API Key followed by a percent sign (%) and finally your Constant Contact Login name like so:


User Name: acbd-1234-xxxx-xxxxxxx-xxxxx%impact11


Your Password is going to be your Constant Contact account password.


Please verify that this is how you are attempting to connect and let us know if you have any other issues.

Dan H

Support Engineer, Constant Contact

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