Contact import Errors in API

Campaign Contributor
0 Votes


I am currently working on importing contacts and I am using the bulk activities(Import Contacts using a JSON Payload).
is there a way to show/return the Import errors? like, show the contact(name/email) that is not imported to the API?




thank you!

0 Votes

Hello user463795 ,


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.


Within our API, there is not a way to validate the email address format for contacts as far as displaying contact import errors within the response body of the bulk import endpoint, but you could create something like this at the application level within your integration.


Essentially, you'd want to code your program to check the data in the JSON request body (or CSV file, depending on which bulk endpoint method you are using) prior to sending it through the API, and have your program parse that data and generate a report or alert for you showing which entries for that field do not meet the correct convention for an email address.


If you're not sure of the best method to use, I'd recommend searching online using the string "validate email address format" and the name of the programming language you are using as well as the input type you have chosen. I'm sure there's a few different ways to do it.


*possible search examples:
validate email address format java csv
validate email address format php json


While our expertise is with our API itself as opposed to its implementation within any particular programming language, we are happy to answer any questions pertaining to Constant Contact’s API endpoints, functionality, and documentation.


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