Insightly API with filter

398 views Asked by At

I have created a cUrl to get a filtered list of contacts. Regardless of me passing the filter items I always get ALL of the contacts. Here is the curl:

curl -v -H "Authorization: Basic <MY API KEY>" https://api.insight.ly/v2.1/contacts?filter=LAST_NAME='Jones'

Any ideas?

1

There are 1 answers

0
user3437594 On BEST ANSWER

Use filter like this

https://api.insight.ly/v2.1/contacts?$filter=LAST_NAME%20eq%20'Jones'