XF 2.1 Getting user emails via the API

GreenZone

Member
I want to extract the full list of usernames, full names and email addresses of all the users in my forum via the API.
I'm running v2.1

I can extract the user list via the GET users endpoint, but the User object returned doesn't include the email address.
The documentation on the User type states that I need to enable verbose mode in order to see the email address field.
Could you please let me know how to enable verbose mode via the API call.
I've tried things such as verbose=1 and verbose=true to the query string, but that hasn't been working.

Is there a way to determine the total number of users in the forum, so that I can use that for pagination in the API call ?

Also, I noticed that there is a "find by username" endpoint, but no equivalent for finding a user based on their email address.
Adding that would be very helpful.
 
Top Bottom