Error while adding contacts through PHP

Campaign Expert
0 Votes


Am getting error of {"error_key":"unauthorized","error_message":"Unauthorized"}.
at time of adding contact to constant contact list.

0 Votes

Hello NeilM595,


Thank you for reaching out to Constant Contact API Developer Support. My team is here to assist outside software developers with questions about building into Constant Contact's API.


Typically the Unauthorized (401) response indicates that the access token or API key that you used when making your call is not valid or has expired.


V3 API - 401: Unauthorized


For further assistance, please feel free to email us directly/securely at with the API key that you are using to make the request, the full request(s) where you are receiving the response error (including URL, headers, timestamp, and request body), and the full response body so that we can so that we can better assist you in identifying the root cause of the issue?


Please have a look and let us know if you have any other questions!


Courtney E.
Tier II API Support Engineer

Did I answer your question?
If so, please mark my post as an "Accepted Solution" by clicking the Accept as Solution button in the bottom right hand corner of this post.
Developer Portal

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

Visit Page


API Updates

Join our list to be notified of new features and updates to our V3 API.

Sign Up

How confident are you about the effectiveness of your current marketing strategy?

Top Choice: Not confident at all (70%)