I’m trying to use /api/v2/contacts/autocomplete?name=[keyword]
or /api/v2/search/contacts?query=[query]
In both case I have an issue
curl -u MY_TOKEN:X -X GET 'https://DOMAIN.freshdesk.com/api/v2/search/contacts?query="(name:John)"'
{"description":"Validation failed","errors":[{"field":"name","message":"Unexpected/invalid field in request","code":"invalid_field"}]}%
curl -u MY_TOKEN:X -X GET 'https://DOMAIN.freshdesk.com/api/v2/contacts/autocomplete?name=JOHN'
{"description":"Validation failed","errors":[{"field":"name","message":"Unexpected/invalid field in request","code":"invalid_field"}]}%
I think I’m missing something, but according to the doc it seems fine …
What am I missing ?