Return emails of users

Hi again,

I need to return the emails of the users, in this call only return the id and name,
are other option to return the emails of the users?

{{baseUrl}}/users?
thanks

Yes, just add the “opt_fields” parameter, with the fields you need.

example GET /users/?opt_fields=name,email (gid is always returned).

To get the list of available fields, you can look at the documentation, but I prefer to query a single item, like:

GET /users/xxx. Look at the response, the list available fields is the one you see there.

That method is the same for all items, tasks, projects, tags, users…