How can i retrieve the associated custom objects of a Company in HubSpot?

Hi, i have a company with associated Communities. I would like to know how can i retrieve from Hubspot API these communities.

I searched through the companies and associations API documentation, but did not find anything about it.

Hi @PChristian4,

It looks like Communities is a custom object in your portal. In retrieving these associations you’d want to follow that path. There is some information on this page under “Retrieve Custom Object Records”. You’ll also want to reference the Associations API docs.

Maybe I’m wrong, but it sounds like you were looking for a specific reference for “Communities”, which won’t exist, but if you know you need to retrieve a custom object, that should help. You’ll need to identify that custom object’s ID.

Hope this helps!

Josh

Thanks @Josh :raising_hands: I was wondering the same thing — is this a custom object? As you mentioned, they can make a request to the Associations API to get back info on all existing associations between their custom object and HubSpot objects and engagements.

Best,

Jaycee