Got a 'How do I' question? Join 'Ask a Trainer' Monday to Friday, 11am to 4pm ET for instant help and pro tips!

API v3 anomaly - searching for contact

SOLVED
Go to solution
Goldrush
Brand Visionary
0 Votes

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 'media@bob-brock.com'

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": "media@goldrushgetaways.com",
        "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": "testuser63-a@email.com",
        "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 'media@bob-brock.com' 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

1 ACCEPTED SOLUTION
Jimmy_D
Employee
0 Votes

Hi @Goldrush,

 

In order to fully research the issue we will need some private information. We will reach out to you in a private case/email.


Regards,
Jimmy D.
Tier II API Support Engineer

View solution in original post

2 REPLIES 2
Jimmy_D
Employee
0 Votes

Hi @Goldrush,

 

In order to fully research the issue we will need some private information. We will reach out to you in a private case/email.


Regards,
Jimmy D.
Tier II API Support Engineer
Goldrush
Brand Visionary
0 Votes

My apologies, I accepted your answer expecting that you took care of the contacts in question.

I just searched that same contact again <media@bob-brock.com> and received the same results.

Will you be performing the hard reset for the <testuser63-a@email.com> and <media@goldrushgetaways.com> addresses?

Resources
Developer Portal

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

Visit Page

Announcements

API Updates

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

Sign Up