API v3 anomaly - searching for contact
In my development process, I realize I have made some incorrect calls using the API v3 that are giving me less than favorable results now. Here is one of my issues:
Â
(Using your 'API Reference' site) When I search for a contact '[email protected]'
https://api.cc.email/v3/contacts?status=all&email=media%40bob-brock.com&include_count=false
I get the following results:
{ "contacts": [ { "contact_id": "41deab72-c048-11e9-9b46-d4ae52733d3a", "email_address": { "address": "[email protected]", "permission_to_send": "implicit", "created_at": "2020-06-23T23:53:33Z", "updated_at": "2020-06-26T17:30:00Z", "opt_in_source": "Account", "opt_in_date": "2020-06-23T23:53:33Z", "confirm_status": "off" }, "first_name": "fname", "last_name": "lname", "update_source": "Account", "create_source": "Account", "created_at": "2019-08-16T17:06:58Z", "updated_at": "2020-06-26T17:30:00Z", "deleted_at": "2020-06-26" }, { "contact_id": "a8919a06-6fab-11ea-b790-d4ae52733d3a", "email_address": { "address": "[email protected]", "permission_to_send": "implicit", "created_at": "2020-03-26T21:51:07Z", "updated_at": "2020-06-26T17:33:56Z", "opt_in_source": "Account", "opt_in_date": "2020-03-26T21:51:07Z", "confirm_status": "off" }, "first_name": "fname", "last_name": "lname", "update_source": "Account", "create_source": "Account", "created_at": "2020-03-26T21:49:24Z", "updated_at": "2020-06-26T17:33:56Z", "deleted_at": "2020-06-26" } ] }
Where is the reference to the address that I actually searched for?
Then when I try to add the contact '[email protected]' I get a conflict error message. (I can supply the exception data if requested)
As I said, I realize I am responsible for the mixed up data due to previous interactions with the data. But, how do I fix these contacts and get the results to be correct?
Your assistance is greatly appreciated!
Thank you, Bob