# Fetch User details by a User Id

**URL:** <https://community.hubspot.com/t/fetch-user-details-by-a-user-id/66430>\
**Category:** APIs & Integrations\
**Created:** [October 4, 2022, 11:59am UTC](https://community.hubspot.com/t/fetch-user-details-by-a-user-id/66430 "2022-10-04T11:59:55Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![RushiJoshi](https://avatars.discourse-cdn.com/v4/letter/r/ba9def/32.png) [@RushiJoshi](https://community.hubspot.com/u/RushiJoshi)\
**Post date:** [October 4, 2022, 11:59am UTC](https://community.hubspot.com/t/fetch-user-details-by-a-user-id/66430/1 "2022-10-04T11:59:55Z")

</div>

Hi,

I am creating an app that will be triggered by a workflow in the CRM. The workflow will be triggered when a deal goes to Closed Won Stage.

My App will create the user in My System and configure it accordingly.

The problem I am having is with footprinting. I want to get the email Id of the user who has moved the deal to closed won. I am aware i can get the UserId by the updatedByUserId parameter, I am not sure how to exchange that for the user’s email Id. Any help is appreciated

thanks!

Rushi

---

<div class="post-metadata">

**Author:** ![Jaycee\_Lewis](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/jaycee_lewis/32/61352_2.png) [@Jaycee\_Lewis](https://community.hubspot.com/u/Jaycee_Lewis)\
**Post date:** [October 4, 2022, 10:40pm UTC](https://community.hubspot.com/t/fetch-user-details-by-a-user-id/66430/2 "2022-10-04T22:40:47Z")

</div>

Hey, @RushiJoshi 👋 One question to help clarify things – what exactly do you mean by “user’s email Id”? Are you referring to the email address associated with the User/UserID? If so, one thought is to query the [Settings API \>](https://developers.hubspot.com/docs/api/settings/user-provisioning)  
[Users Provisioning](https://developers.hubspot.com/docs/api/settings/user-provisioning) endpoints to search for a User by ID which will return email address as a value.

`GET /settings/v3/users/{userId}`

 ![CleanShot 2022-10-04 at 16.10.40.jpg](https://d2qpr2jzcazej7.cloudfront.net/original/3X/1/b/1b962985cdcd8068403f3b4294bc60e7350c62e1.jpeg)

And if this is not what you are after, please let me know.

Best,

Jaycee

---

<div class="post-metadata">

**Author:** ![RushiJoshi](https://avatars.discourse-cdn.com/v4/letter/r/ba9def/32.png) [@RushiJoshi](https://community.hubspot.com/u/RushiJoshi)\
**Post date:** [October 5, 2022, 2:25pm UTC](https://community.hubspot.com/t/fetch-user-details-by-a-user-id/66430/3 "2022-10-05T14:25:59Z")

</div>

Hey [@Jaycee\_Lewis](https://community.hubspot.com/t5/user/viewprofilepage/user-id/127074),

Thanks for the Answer this worked!!
