# API endpoint to get user

**URL:** <https://community.hubspot.com/t/api-endpoint-to-get-user/94089>\
**Category:** APIs & Integrations\
**Tags:** email\
**Created:** [November 15, 2023, 3:20pm UTC](https://community.hubspot.com/t/api-endpoint-to-get-user/94089 "2023-11-15T15:20:24Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![pabollep](https://avatars.discourse-cdn.com/v4/letter/p/96bed5/32.png) [@pabollep](https://community.hubspot.com/u/pabollep)\
**Post date:** [November 15, 2023, 3:20pm UTC](https://community.hubspot.com/t/api-endpoint-to-get-user/94089/1 "2023-11-15T15:20:24Z")

</div>

Hello, could some one guide us , is there any API to retrieve the user details including firstName,lastName and user status based on user id or email.

---

<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:** [November 16, 2023, 6:38pm UTC](https://community.hubspot.com/t/api-endpoint-to-get-user/94089/2 "2023-11-16T18:38:48Z")

</div>

Hey, @pabollep 👋 Great question!

If you already have the value for userId, we can leverage the Owners API to return the details you are after. This is because the Owners API allows you to query the endpoint [**Read an owner by given id or userId**](https://developers.hubspot.com/docs/api/crm/owners) - **GET** `/crm/v3/owners/{ownerId}` and use userId or ownerId.

The response body for this endpoint includes details like email address, first name, last name, etc.

Have fun building! —Jaycee
