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
@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 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.
Mar 27, 20248:42 AM - edited Mar 27, 20248:43 AM
Top Contributor | Gold Partner
Missing Contact and Deal Fields in API
SOLVE
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...
Scott Marion Senior Developer @ Thread Connected Marketing
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.
Scott Marion Senior Developer @ Thread Connected Marketing
@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 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.