I created a couple contacts within the Hubspot UI. Their email addresses then generated a company and associated them to that company. When I attempted this call:
GET /companies/v2/companies/:companyId/contacts
It returned an empty array. I then attempted to manually associate the company and contact via an update on the contact’s “associatedcompanyid” property. This still didn’t link them together when making the GET company contacts call.
I'm able to pull the associated contacts for that first company using the endpoint you specified. Can you give me some more information on the response you're getting?
@dadams
I've had my contact associated via email automatically for many days and I'm still not seeing the contacts when making the call GET /companies/v2/companies/:companyId/contacts
I believe it’s a syncing issue of some sort. The company was automatically generated when the domain for the email address was entered. For some reason, the GET /companies/v2/companies/:companyId/contacts call didn’t work the day of creation. The next day I tested that endpoint again, and it worked.