GET
/
companies
/
v2
/
companies
/
{companyId}
/
contacts
Get Contacts at a Company
curl --request GET \
  --url https://api.hubapi.com/companies/v2/companies/{companyId}/contacts
"\nExample GET URL:\nhttps://api.hubapi.com/companies/v2/companies/10444744/contacts\n\nReturns the full contact profiles of contacts associated with the company:\n{\n  \"contacts\": [\n    {\n      \"identities\": [\n        {\n          \"vid\": 23511,\n          \"identity\": [\n            {\n              \"value\": \"rswanson@parksrec.com\",\n              \"type\": \"EMAIL\",\n              \"timestamp\": 1394223876431\n            },\n            {\n              \"value\": \"1a658c50-fc00-47b5-b920-3079c03b6369\",\n              \"type\": \"LEAD_GUID\",\n              \"timestamp\": 1394223876535\n            }\n          ],\n          \"linkedvid\": [\n            \n          ]\n        },\n        {\n          \"vid\": 23510,\n          \"identity\": [\n            {\n              \"value\": \"rswan@parksandrec.com\",\n              \"type\": \"EMAIL\",\n              \"timestamp\": 1394222641382\n            },\n            {\n              \"value\": \"d98d7590-ad15-463e-aa9d-f7070199d913\",\n              \"type\": \"LEAD_GUID\",\n              \"timestamp\": 1394222641428\n            }\n          ],\n          \"linkedvid\": [\n            \n          ]\n        }\n      ],\n      \"properties\": [\n        {\n          \"name\": \"lastname\",\n          \"value\": \"Swanson\",\n          \"sourceVid\": [\n            \n          ]\n        },\n        {\n          \"name\": \"firstname\",\n          \"value\": \"Ron\",\n          \"sourceVid\": [\n            \n          ]\n        },\n        {\n          \"name\": \"lastmodifieddate\",\n          \"value\": \"1403134876842\",\n          \"sourceVid\": [\n            \n          ]\n        }\n      ],\n      \"listMembership\": [\n        \n      ],\n      \"vid\": 23511,\n      \"portalid\": 62515,\n      \"isContact\": true,\n      \"vids\": [\n        \n      ],\n      \"imports\": [\n        \n      ],\n      \"publicToken\": \"AO_T-mO3IQOR49eMkLukTZMtEMbVMbpeRbF6gREcu9lpDKiAGqI36EAIqORKFd2LFN11x-YmQs5DsUGlFH8hsXWR9T0Aj85_Tp0e76Pmzze2P6XmxfrgevzJHWSo4ENDRRObVX1N5wFO\",\n      \"canonicalVid\": 23511,\n      \"mergeAudit\": [\n        {\n          \"canonicalVid\": 23511,\n          \"vidToMerge\": 23510,\n          \"timestamp\": 1403130666794,\n          \"userId\": 100291,\n          \"entityId\": \"\",\n          \"numPropertiesMoved\": 39,\n          \"email\": \"rswan@parksandrec.com\",\n          \"firstName\": \"Ron\",\n          \"lastName\": \"Swanson\"\n        }\n      ],\n      \"mergedVids\": [\n        23511,\n        23510\n      ]\n    }\n  ],\n  \"vidOffset\": 23511,\n  \"hasMore\": false\n}"

Query Parameters

offset
string

This is used to get the next page of results. Each request will return an offset in the response, and you'd use that offset in the URL of your next request to get the next page of results.

count
string

Specifies the number of companies to be returned.

since
string

Only return companies modified or created after timestamp x. x must be a UNIX formatted timestamp in milliseconds.

Response

200 - application/json

Successful response - Returns a list of all companies sorted by the date the companies were most recently modified or created

The response is of type object.