# API

**URL:** <https://community.hubspot.com/t/api/53515>\
**Category:** APIs & Integrations\
**Created:** [March 21, 2022, 11:36am UTC](https://community.hubspot.com/t/api/53515 "2022-03-21T11:36:08Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![mahaurz](https://avatars.discourse-cdn.com/v4/letter/m/b19c9b/32.png) [@mahaurz](https://community.hubspot.com/u/mahaurz)\
**Post date:** [March 21, 2022, 11:36am UTC](https://community.hubspot.com/t/api/53515/1 "2022-03-21T11:36:08Z")

</div>

Is there a way to get hubspot deal ID and Deal owner or deal owner id using same api?

---

<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:** [March 21, 2022, 5:55pm UTC](https://community.hubspot.com/t/api/53515/2 "2022-03-21T17:55:55Z")

</div>

@mahaurz ,

There is a property called _ **hubspot\_owner\_id** _ that will return the Deal Owner Id when you call for that record. You would append it to your call as a query parameter

If you want to [get all deals](https://developers.hubspot.com/docs/api/crm/deals) and return that prop, you would write something like this:

**[https://api.hubapi.com/crm/v3/objects/deals?properties=hubspot\_owner\_id](https://api.hubapi.com/crm/v3/objects/deals?properties=hubspot_owner_id)**

---

<div class="post-metadata">

**Author:** ![mahaurz](https://avatars.discourse-cdn.com/v4/letter/m/b19c9b/32.png) [@mahaurz](https://community.hubspot.com/u/mahaurz)\
**Post date:** [March 21, 2022, 6:31pm UTC](https://community.hubspot.com/t/api/53515/3 "2022-03-21T18:31:20Z")

</div>

, worked for me
