proper API call GET /v2.1/Contacts?ids={ids}&email={email}&tag={tag}

I want to write an API to retrieve contact info based on an email.

 

The solution seems well documented at https://api.insight.ly/v2.1/Help/Api/GET-Contacts_ids_email_tag

Says to use

GET /v2.1/Contacts?ids={ids}&email={email}&tag={tag}

But I can't get it to work. I tried

https://api.insight.ly/v2.1/Contacts?email={'Ed@abc.com'}

https://api.insight.ly/v2.1/Contacts?email={Ed@abc.com}

https://api.insight.ly/v2.1/Contacts?&email={'Ed@abc.com'}

https://api.insight.ly/v2.1/Contacts?&email={Ed@abc.com}

https://api.insight.ly/v2.1/Contacts?ids={}&email={Ed@abc.com}

... and other variations

 

What is the correct formatting for getting contact info based on an EmailId?

 

 

0

Comments

2 comments
  • Hi Charles,

    I've asked our API engineer to take a look at your question and he'll comment as soon as he can. Thanks!

    0
    Comment actions Permalink
  • Hi Charles,

    Try removing the curly brackets and quotes in your query. If that doesn't work, you may also need to url encode non-alphanumeric characters in the email address, but otherwise what you are doing should work fine.

    Thanks,

    Brian McConnell

    Insightly Engineering Team

    0
    Comment actions Permalink

Please sign in to leave a comment.