# User UUID lookup by email address

**URL:** <https://community.developer.atlassian.com/t/user-uuid-lookup-by-email-address/53755>\
**Category:** Bitbucket Cloud\
**Tags:** organization, identity, email\
**Created:** [November 17, 2021, 1:25pm UTC](https://community.developer.atlassian.com/t/user-uuid-lookup-by-email-address/53755 "2021-11-17T13:25:42Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![MarkusSutterMibexSof](https://sea1.discourse-cdn.com/atlassiandeveloper/user_avatar/community.developer.atlassian.com/markussuttermibexsof/32/52579_2.png) [@MarkusSutterMibexSof](https://community.developer.atlassian.com/u/MarkusSutterMibexSof)\
**Post date:** [November 17, 2021, 1:25pm UTC](https://community.developer.atlassian.com/t/user-uuid-lookup-by-email-address/53755/1 "2021-11-17T13:25:42Z")

</div>

Hi,

We need to find user UUID by email address in Bitbucket Cloud app to add them as reviewers to a PR.

Found the following for Confluence: [https://community.atlassian.com/t5/Confluence-questions/Get-user-account-ID-via-API-from-email-username/qaq-p/1197704](https://community.atlassian.com/t5/Confluence-questions/Get-user-account-ID-via-API-from-email-username/qaq-p/1197704)

But how can we find/access Atlassian Organization from Bitbucket workspace?  
And are the Atlassian user UUID even the same as in Bitbucket?

Any hints are welcome. Thx.  
Markus

---

<div class="post-metadata">

**Author:** ![michael.rueegg](https://sea1.discourse-cdn.com/atlassiandeveloper/user_avatar/community.developer.atlassian.com/michael.rueegg/32/37316_2.png) [@michael.rueegg](https://community.developer.atlassian.com/u/michael.rueegg)\
**Post date:** [May 5, 2023, 7:29am UTC](https://community.developer.atlassian.com/t/user-uuid-lookup-by-email-address/53755/2 "2023-05-05T07:29:21Z")

</div>

Any news about this?

There is a BB Cloud REST endpoint to get the email for the current user, but not  
for other users of a workspace: **api/2.0/workspaces/mibexsoftware/members**  
only yields nick names of BB Cloud users.

Our use case: in Code Owners for Bitbucket, we need to reference Bitbucket Cloud  
users from the `CODEOWNERS` file, e.g.

```auto
*.java @"Peter Muller" @"Doris Meyer"

```

Currently, we can only do that with the nickname/display name, which  
of course is not immutable and stable.

Alas, there is no user slug or email address we could use in Bitbucket Cloud.

Do you have any solution for this use case?

/cc @ibuchanan@JeroenDeRaedt
