Is there a way to get the user's email address through the API?

Is there a way through the BitBucket API to get the email address of the user associated with our group? Under:

https://bitbucket.org/api/1.0/users/foobar

      

I can see their username, display_name, first_name, last_name, etc., but not their email address.

In short, I am trying to find out if anyone on our team has an email address for our company.

thank!

+3


source to share


1 answer


It looks like the emails

endpoint is:

Gets the email addresses associated with the account. This call requires authentication.



In your case, it would be:

https://bitbucket.org/api/1.0/users/foobar/emails

      

0


source







All Articles