Can I get the Contact Import Errors messages by using API

Participant

Can I get the Contact Import Errors messages by using API

Hi: 

 

I can use api upload contacts from my website admin section to my CTCT list, but I need know the result if there is any issue, and this result should be fetched from my admin section (not go to my CTCT account to find out the error messages in the reports).

 

(Right, before I click the "upload contacts to a List" button, I have already implemented function on my admin section to check if contacts' email has valid format, not empty, not in "Do Not Mail" list...., but I still think will be nice that I can get the final words from CTCT after uploading (error report).

 

Is that possible?

 

Thanks

 

JT

1 REPLY 1
Employee

Hello JT,

 

When you POST a bulk add/update activity to Constant Contact, the API server will return XML to you that includes the activity URI.  You can then do a GET call to the specific activity URI and it will return XML that has an error count, as well as a list of any errors that may have happened.

 

If this is not what you are looking for let me know.

 

Regards,

Benjamin Soder
NOC Analyst
Constant Contact
Developer Portal

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

Visit Page