We use cookies to make HubSpot's community a better place. Cookies help to provide a more personalized experience and relevant advertising for you, and web analytics for us. To learn more, and to see a full list of cookies we use, check out our Cookie Policy (baked goods not included).
Jan 17, 2022 3:15 PM - edited Jan 17, 2022 3:36 PM
I am trying to use /crm/v3/objects/contacts to retrieve all contacts but I see that the field Company name is not being returned in the list.
example: (https://api.hubapi.com/crm/v3/objects/contacts?limit=10&after=1002&hapikey=xxxxxx)
Clearly, the documentation show that Company name is supposed to be included.
example from https://developers.hubspot.com/docs/api/crm/contacts
url:https://api.hubapi.com/crm/v3/objects/contacts?limit=10&archived=false&hapikey=xxxx
"results": [
{
"properties": {
"company": "Biglytics",
"createdate": "2019-10-30T03:30:17.883Z",
"email": "bcooper@biglytics.net",
"firstname": "Bryan",
"lastmodifieddate": "2019-12-07T16:50:06.678Z",
"lastname": "Cooper",
"phone": "(877) 929-0687",
"website": "biglytics.net"
}
}
Am I doing something wrong ?
Jan 18, 2022 3:11 PM
Good catch! I will send this to the docs team to see if we can get this updated.
In the interim, you can get the company by adding it as a query param to the url.
eg https://api.hubapi.com/crm/v3/objects/contacts?limit=10&after=1002&hapikey=xxxxxx&properties=company
![]() | Make sure to subscribe to our YouTube channel where you can find the HubSpot Community Developer Show |