APIs & Integrations

PChristian4
Participant

How can i retrieve associated communities of a Company?

SOLVE

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.Image 09-09-24 at 10.08.jpeg

0 Upvotes
1 Accepted solution
Josh
Solution
Recognized Expert | Diamond Partner
Recognized Expert | Diamond Partner

How can i retrieve associated communities of a Company?

SOLVE

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




Did this post help solve your problem? If so, please mark it as a solution.

Josh Curcio

HubSpot support and inbound marketing for OEMs, contract manufacturers, and industrial suppliers.
HubSpot Diamond Partner & HubSpot Certified Trainer

View solution in original post

0 Upvotes
2 Replies 2
Jaycee_Lewis
Community Manager
Community Manager

How can i retrieve associated communities of a Company?

SOLVE

Thanks @Josh 🙌 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

linkedin

Jaycee Lewis

Developer Community Manager

Community | HubSpot

0 Upvotes
Josh
Solution
Recognized Expert | Diamond Partner
Recognized Expert | Diamond Partner

How can i retrieve associated communities of a Company?

SOLVE

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




Did this post help solve your problem? If so, please mark it as a solution.

Josh Curcio

HubSpot support and inbound marketing for OEMs, contract manufacturers, and industrial suppliers.
HubSpot Diamond Partner & HubSpot Certified Trainer

0 Upvotes