Using search api to find end user details (using emaiid as query parameter)



Data ultimo post: 06 gen 2022

Hi Team,

We are trying to search user in zendesk system using user email through Zendesk API.

The curl command for the search API is as bellow:

curl "https://MYDOMAIN.zendesk.com/api/v2/search.json" \
-G --data-urlencode "query=email:XXXX@MYDOMAIN.com" \
-v -u steve@MYDOMAIN.com/token:----some-----secret-token---here

This sometimes gives result for some of the emails but not for some other emails.

Example emails which exists in zendesk but does not give any result when searched using above curl command:

user+1@mydomain.com (does not work)

user+3@mydomain.com (works)

user@mydomain.com (does not work)

Can someone suggest what are we missing in the curl command ?


1

15

0 commenti

      Accedi per lasciare un commento.

      Non hai trovato quello che cerchi?

      Nuovo post