Hi,
I'm a little bit stuck, been trying to get email list from Zendesk for all our users, the only way I found so far is to pull user id list and use that list with a get end_users command.
I have been trying to test it with the curl command for testing but something is missing.
I replaced the domain, email and password for security reasons.
curl https://{domain}.zendesk.com/api/v2/end_users/369312547338\
-v -u {email}:{password}
"error": {
"title": "Invalid attribute",
"message": "You passed an invalid value for the id attribute. Invalid parameter: id must be an integer from api/v2/end_users/show"