Retrieve User Emails VIA API

Currently our team is integrating with Gitlab as a provider on our platform. At the moment we are using the golang client to retrieve user information; however, we are unable to retrieve the users email. By the looks of it on their documentation you have to be an admin to see Email.

Is there anyway around this? We would like to retrieve the user email. Also, I created the gitlab account, how am I not the admin? Still searching for answers online. Thanks in advance :slight_smile:

Hey @stephen1, is this regarding If so, then it won’t be possible for you to retrieve the primary email address associated with other accounts unless a user you’re querying for has chosen to publicly display their email address. This is primarily because each account on is owned by the specific user that created it.

End-users of are also not granted administrative privileges for the reasons outlined in our documentation.

1 Like