APIs & Integrations

testuser27
Participant

Company to Company Association using API

SOLVE

Hello,
I want to create association for one company to another existing company of hubspot using api. There is option to add parent and child company using UI but i want to implement same using API . I didn't find any api for that if anyone have idea regarding this please help me as fast as possible

Thanks

0 Upvotes
1 Accepted solution
Phil_Vallender
Solution
Most Valuable Member | Diamond Partner
Most Valuable Member | Diamond Partner

Company to Company Association using API

SOLVE

Hi @testuser27 

 

I think you can use the standard associations api endpoint from: https://developers.hubspot.com/docs/api/crm/companies but using the recently introduced relationship type IDs: https://developers.hubspot.com/changelog/2018-9-11-parent-child-associations

 

Hope this helps.

Phil Vallender | HubSpot Website Agency

View solution in original post

0 Upvotes
2 Replies 2
DStaat
Participant

Company to Company Association using API

SOLVE

Hey @testuser27,

Have you heard of Associ8? It automates associations for you. I'm bringing this up because it updated to reflect HubSpot's new Same Object Associations feature.
 
There's some documentation going over how it works here if you'd like to take a look! And let me know if you have any questions!
 
Best,
 
-David Staat
0 Upvotes
Phil_Vallender
Solution
Most Valuable Member | Diamond Partner
Most Valuable Member | Diamond Partner

Company to Company Association using API

SOLVE

Hi @testuser27 

 

I think you can use the standard associations api endpoint from: https://developers.hubspot.com/docs/api/crm/companies but using the recently introduced relationship type IDs: https://developers.hubspot.com/changelog/2018-9-11-parent-child-associations

 

Hope this helps.

Phil Vallender | HubSpot Website Agency
0 Upvotes