Does anyone know the current status on looking up email addresses with the API? (The linked page doesn’t exist.)
The API docs say that email should be returned from /admin/users/{id}.json, but it’s missing when I make requests there.
I have a list of Discourse usernames, and I’m trying to get their email addresses to match them with their email addresses in another system.
# I'm getting the user ID from here:
f"{BASE_URL}/u/{username}.json"
# and then trying to fetch the email address from here:
f"{BASE_URL}/admin/users/{user_id}.json"
If email isn’t available there any more, is there another way to programmatically get it from the username?