# Deals API Properties

**URL:** <https://community.hubspot.com/t/deals-api-properties/61479>\
**Category:** APIs & Integrations\
**Created:** [July 21, 2022, 7:40pm UTC](https://community.hubspot.com/t/deals-api-properties/61479 "2022-07-21T19:40:17Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![joshholat](https://avatars.discourse-cdn.com/v4/letter/j/dbc845/32.png) [@joshholat](https://community.hubspot.com/u/joshholat)\
**Post date:** [July 21, 2022, 7:40pm UTC](https://community.hubspot.com/t/deals-api-properties/61479/1 "2022-07-21T19:40:17Z")

</div>

I had a question around the deals API. It looks like the structure looks like this:

{  
“id”: “123”,  
“properties”: {  
“amount”: null,  
“closedate”: “2019-05-16T20:29:15.916Z”,  
“createdate”: “2019-01-18T19:43:52.457Z”,  
“dealname”: “FOO BAR”,  
“dealstage”: “closedlost”,  
“hs\_lastmodifieddate”: “2022-05-24T14:49:32.259Z”,  
“hs\_object\_id”: “474346956”,  
“pipeline”: “default”  
},  
“createdAt”: “2019-01-18T19:43:52.457Z”,  
“updatedAt”: “2022-05-24T14:49:32.259Z”,  
“archived”: false  
}  
However, the API docs mentioned there being a bunch more “default” properties for deals at [HubSpot's default deal properties](https://knowledge.hubspot.com/deals/hubspots-default-deal-properties)

How do we get those properties in the API response?

---

<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:** [July 21, 2022, 8:42pm UTC](https://community.hubspot.com/t/deals-api-properties/61479/2 "2022-07-21T20:42:12Z")

</div>

Hi, @joshholat👋 Thanks for reaching out. To help me clarify, can you give me an example of the following, please?

- The specific endpoint you are using. For example, the v1 Get a deal or the v3 Get deal endpoints.
- The request (minus your authorization key)
- The JSON response body

You can add additional properties to your query. There isn’t a method to _include all default options_ specially, but you can customize which properties you want returned. From the documentation — “Control what is returned **via the**  **`properties`**  **query param**.”

Here’s a quick example using the

`GET /crm/v3/objects/deals/{dealId}`

- I want the default Deal properties of Owner Assigned Date and Created by user ID included in my query

- 

```lia-code-sample
curl --request GET \
 --url 'https://api.hubapi.com/crm/v3/objects/deals/9475998565?properties=hs_created_by_user_id%2C%20hubspot_owner_assigneddate&archived=false' \
 --header 'authorization: Bearer MY_PRIVATE_APP'

```

- Which returns a HTTP 200 response of

- Make sure you are using the internal value for the properties and not the label. You can find the internal value for any object property by going to Setting\>Properties\>The object you are using and clicking into a specific property. There will be a`</>​`

 ![ticket-internal-value.png](https://d2qpr2jzcazej7.cloudfront.net/original/2X/f/ff1b54d33fba6b2775a1a814dc521f4fab68df34.png)

Have fun coding! — Jaycee
