Joe_F asks how to pull user emails via the API for all users, not just one. NateDhaliwal notes that while /admin/users/{id}.json doesn’t return emails, the /admin/users/list/{flag}.json endpoint does. Pfaffman suggests using the Data Explorer plugin, providing a sample query to fetch user data including email and activity, and explaining how to run the query via the API using a POST request to /admin/plugins/explorer/queries/{query_id}/run. Joe_F confirms the issue is resolved, thanking the community for the help Joe_F, NateDhaliwal, pfaffman.
Interestingly, something like /admin/users/{id}.json doesn’t return the user’s email as part of the response, but getting a list of users (/admin/users/list/{flag}.json) does. If you pass a parameter like username, you can probably get the specific user.