# Custom objects obtain HubSpot user

**URL:** <https://community.hubspot.com/t/custom-objects-obtain-hubspot-user/49939>\
**Category:** APIs & Integrations\
**Tags:** cms-content, developer-tools, starter\
**Created:** [January 18, 2022, 12:15pm UTC](https://community.hubspot.com/t/custom-objects-obtain-hubspot-user/49939 "2022-01-18T12:15:29Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![ADedja](https://avatars.discourse-cdn.com/v4/letter/a/2acd7d/32.png) [@ADedja](https://community.hubspot.com/u/ADedja)\
**Post date:** [January 18, 2022, 12:15pm UTC](https://community.hubspot.com/t/custom-objects-obtain-hubspot-user/49939/1 "2022-01-18T12:15:29Z")

</div>

Hello everyone,

I am new here and I am working on creating custom objects in HubSpot.  
I want to have a property in my object that is a HubSpot user something like this

| Seller owner | string | HubSpot user |
| --- | --- | --- |

How can I achieve this? I am using HubSpot Developer Docs portal to create the custom object.  
Thank you!  
Bests,  
A

---

<div class="post-metadata">

**Author:** ![dennisedson](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/dennisedson/32/28044_2.png) [@dennisedson](https://community.hubspot.com/u/dennisedson)\
**Post date:** [January 20, 2022, 3:16pm UTC](https://community.hubspot.com/t/custom-objects-obtain-hubspot-user/49939/2 "2022-01-20T15:16:38Z")

</div>

@ADedja

Assuming you want to do this programmatically, you can query the [Owners API](https://legacydocs.hubspot.com/docs/methods/owners/get_owners)

to get a list of available HubSpot users. You can then use this information to use the patch method for the custom object api to update that property

---

<div class="post-metadata">

**Author:** ![ADedja](https://avatars.discourse-cdn.com/v4/letter/a/2acd7d/32.png) [@ADedja](https://community.hubspot.com/u/ADedja)\
**Post date:** [January 25, 2022, 2:01pm UTC](https://community.hubspot.com/t/custom-objects-obtain-hubspot-user/49939/3 "2022-01-25T14:01:08Z")

</div>

Hello @dennisedson  
Thank you for your reply! I will test your solution and if it works I will accept your answer.  
Regards,  
Ada

---

<div class="post-metadata">

**Author:** ![system](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/system/32/124_2.png) [@system](https://community.hubspot.com/u/system)\
**Post date:** [January 25, 2022, 1:30pm UTC](https://community.hubspot.com/t/custom-objects-obtain-hubspot-user/49939/4 "2022-01-25T13:30:22Z")

</div>

Hi @ADedja ,  
You can create a new property named as seller owner in the object by using the doc [here](https://legacydocs.hubspot.com/docs/methods/crm-properties/create-property).  
Hope this helps!  
If we were able to answer your query, kindly help the community by marking it as a solution.  
Thanks and Regard.

---

<div class="post-metadata">

**Author:** ![ADedja](https://avatars.discourse-cdn.com/v4/letter/a/2acd7d/32.png) [@ADedja](https://community.hubspot.com/u/ADedja)\
**Post date:** [January 25, 2022, 2:02pm UTC](https://community.hubspot.com/t/custom-objects-obtain-hubspot-user/49939/5 "2022-01-25T14:02:16Z")

</div>

Hello [@webdew](https://community.hubspot.com/t5/user/viewprofilepage/user-id/131510)  
Thank you for your reply! I will have to test your solution and if it works I will accept your answer.  
Thanks,  
Ada
