Hello HongliangC8,
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.
While making a call to import contacts using the Bulk Activities endpoint will return a value for /v3/file_imports/{id}, this is not a valid endpoint that can be used on the public facing V3 API.
While there's no current ETA, we are planning to remove the results field from the GET /activities/{activity_id} response, when the provided ID is for an import activity as they are not used in the public facing V3 API.
If you are trying to retrieve a certain data type from the API, please let us know what you are looking to do so that we may further assist you.
Please have a look and let us know if you have any other questions!
Hi Courtney,
Thank you for the information provided. Because /v3/file_imports/{id} is not a valid endpoint, do you know if there is other way to know specific failing reason for each failing import contact after calling POST /activities/contacts_json_import or this is only available in the product UI?
Best,
Hongliang
Hello HongliangC8,
Thank you for your reply.
The /v3/activities/{activity_id} link returned in the initial response to a Bulk Activities import request will typically show errors pertaining to a failed import in the "activity_errors" object, however, some errors pertaining to issues with specific contacts being imported may only be found on the “View Import/Export Activity” page in the Contacts section of the website UI currently.
Get the Status of a Bulk Activity:
https://developer.constantcontact.com/api_guide/activity_status.html
Please have a look and let us know if you have any other questions!
Regards,
Announcements
Join our list to be notified of new features and updates to our V3 API.
Sign Up