# Missing Contact and Deal Fields in API

**URL:** <https://community.hubspot.com/t/missing-contact-and-deal-fields-in-api/103528>\
**Category:** APIs & Integrations\
**Tags:** contacts\
**Created:** [March 27, 2024, 8:55am UTC](https://community.hubspot.com/t/missing-contact-and-deal-fields-in-api/103528 "2024-03-27T08:55:54Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![MSrivastava1](https://avatars.discourse-cdn.com/v4/letter/m/e68b1a/32.png) [@MSrivastava1](https://community.hubspot.com/u/MSrivastava1)\
**Post date:** [March 27, 2024, 8:55am UTC](https://community.hubspot.com/t/missing-contact-and-deal-fields-in-api/103528/1 "2024-03-27T08:55:54Z")

</div>

I am not able to fetch all the field values for Hubspot contact and deal properties using the API call. Below are the fields which are not getting fetch from the Contact and Deal:

Phone  
Jobtitle  
Mobilephone  
Contact owner

Below are the API and details I am using to fetch the data

API: [https://api.hubapi.com/crm/v3/objects/contacts/search](https://api.hubapi.com/crm/v3/objects/contacts/search)  
Body to filter the data:  
{  
“filterGroups”: [  
{  
“filters”: [  
{  
“propertyName”: “createdate”,  
“operator”: “GTE”,  
“value”: “2024-03-18T08:37:20Z”  
}  
]  
}  
]  
}

---

<div class="post-metadata">

**Author:** ![dsmarion](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/dsmarion/32/7509_2.png) [@dsmarion](https://community.hubspot.com/u/dsmarion)\
**Post date:** [March 27, 2024, 12:20pm UTC](https://community.hubspot.com/t/missing-contact-and-deal-fields-in-api/103528/2 "2024-03-27T12:20:40Z")

</div>

The API call will only return the standard properties unless you specifically include the properties parameter and give a list of the properties you want returned. You can do this to return any custom properties you want.

 ![dsmarion_0-1711542024386.png](https://d2qpr2jzcazej7.cloudfront.net/original/3X/5/6/5669775fa17965b1c746852b0a4b879fb1e8a2e0.png)

---

<div class="post-metadata">

**Author:** ![MSrivastava1](https://avatars.discourse-cdn.com/v4/letter/m/e68b1a/32.png) [@MSrivastava1](https://community.hubspot.com/u/MSrivastava1)\
**Post date:** [March 27, 2024, 12:34pm UTC](https://community.hubspot.com/t/missing-contact-and-deal-fields-in-api/103528/3 "2024-03-27T12:34:29Z")

</div>

Hello,

Thank you for the response.

Where and How I can specifically include the properties parameter ?

Do I have to do it on the HubSpot site ? More details please.

---

<div class="post-metadata">

**Author:** ![JTBuys](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/jtbuys/32/62318_2.png) [@JTBuys](https://community.hubspot.com/u/JTBuys)\
**Post date:** [March 27, 2024, 1:50pm UTC](https://community.hubspot.com/t/missing-contact-and-deal-fields-in-api/103528/4 "2024-03-27T13:50:46Z")

</div>

@MSrivastava1, to include properties that you would like returned with the search, you would add them to the body of your call like below. The [Contact Search api documentation](https://developers.hubspot.com/docs/api/crm/contacts) that @dsmarion is referencing is very helpful to figure out the structure of your body. You can place the internal property names in the api call builder and the tool will structure the request for you.  
The properties you include in this array must reference the internal name of the property. If you’re unsure how to find internal property names, you can [follow the instructions in this knowledgebase article](https://knowledge.hubspot.com/properties/create-and-edit-properties#:~:text=Internal%20name%3A%20click%20the%20code,rather%20than%20the%20property%20label.).

```lia-code-sample
{
 "properties": [
 "phone",
 "mobilephone",
 "jobtitle",
 "hubspot_owner_id"
 ],
 "filterGroups": [
 {
 "filters": [
 {
 "propertyName": "createdate",
 "operator": "GTE",
 "value": "2024-03-18T08:37:20Z"
 }
 ]
 }
 ]
}

```

---

<div class="post-metadata">

**Author:** ![dsmarion](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/dsmarion/32/7509_2.png) [@dsmarion](https://community.hubspot.com/u/dsmarion)\
**Post date:** [March 27, 2024, 12:42pm UTC](https://community.hubspot.com/t/missing-contact-and-deal-fields-in-api/103528/5 "2024-03-27T12:42:56Z")

</div>

You have to include that in your API call. Your call right now includes two parameters - filterGroups and filters. Add another parameter called properties with the properties you want Example: “properties”: [“prop1,prop2,prop3”]. Hope this helps…
