This is a static archive of our old OpenStreetMap Help Site. Please post any new questions and answers at community.osm.org.

Retrieve user email from OAuth.

0

Can I get the email id of a logged in user.

asked 08 Jul '18, 20:26

surya%20saini's gravatar image

surya saini
11112
accept rate: 0%


One Answer:

1

Nope

We do not provide e-mail addresses as part of the API or in any other form. This is something we guarantee our contributors https://wiki.osmfoundation.org/wiki/Privacy_Policy#Email_Addresses and is very unlikely to change (for numerous, including legal, reasons).

There have been a couple of ideas around enabling messaging from 3rd party apps to the internal message system, see for example https://github.com/openstreetmap/openstreetmap-website/pull/1431#issuecomment-295668951 for a solution that would protect the privacy of our users. If you feel like implementing it, I'm sure a PR would be welcome.

answered 09 Jul '18, 20:03

SimonPoole's gravatar image

SimonPoole ♦
44.7k13326701
accept rate: 18%

edited 09 Jul '18, 20:03

Source code available on GitHub .