I am getting 401 error


I am getting 401 error



I wanted to use v1 API's and for the same i registered with the following link, and i got the api key for it. When i use in my code i end up with 401 error. I used client's ID and is working fine. Why this happens, is there any other setting to be done OR will the activation take more time ?




And i am trying to access events like this


https://api.constantcontact.com/ws/customers/MY LOGIN EMAIL ID/events/ 


and with the key provided.






Your structure for the request URL is correct, however in order to connect with the API, you must provide authentication to show that you have access to the account. For our V1 API, you can find a document detailing the available authentication methods here: http://community.constantcontact.com/t5/Documentation/Authentication-Overview/ba-p/25981


If you do need any additional assistance, please feel free to reply here and I will be happy to help!



Elijah G.

API Support Specialist

Elijah G.
API Support Engineer
Developer Portal

View API documentation, code samples, get your API key.

Visit Page