properties in contact

I am not able to fetch few properties from contacts API, can anyone help me in this, properties that i am trying to fetch(parentcompany,companyowner,yearfounded)

Hi @SMehta7 ,

The contacts API will only return the default properties, if you want additional properties, you’ll have to define those in your API call:

https://api.hubapi.com/crm/v3/objects/contacts/\?properties=parentcompany&properties=companyowner&properties=yearfounded

yeah i am doing like this

https://api.hubapi.com/crm/v3/objects/contacts?properties=company&properties=phone&properties=email&properties=firstname&properties=lastname&properties=JobTitle&properties=buyingrole&associations=companyproperties=parentcompany&properties=companyowner&properties=yearfounded

still not getting it

Hi @SMehta7 ,

Similar to my comment in your question about the deals API, you’ll need to make sure that the internal name of the property is used in the API request, as an example, ‘JobTitle’ is not valid but ‘jobtitle’ is. You can view the internal name of a property through the property settings and clicking on the ‘</>’ icon.

from where i can get this options

Hi @SMehta7
Settings > Properties > Select the correct object
Check this article

thanks for helping