I don't want to try it with username as usernames can be same.
Also, In my problem, I am initially having customer's name and email address only, and then want to check if it already exists in my JIRA service desk or not.
Please tell me how to do it so that I can get accountID of existing customer and then can create a new issue on his part?
you can use the query to filter any specific user.
example:
https://<your-org>.atlassian.net/rest/servicedeskapi/servicedesk/1/customer?query=testuser@gmail.com
this will return all records if there any user with an email address "testuser@gmail.com"
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.