APIs & Integrations

YArafat
Member

Contact is not being associated with company

Out contact and company association stopped working from a few months ago. The api call to associate a contact with a copany returns successful response, but when we check the company the association is missing, although the contact exists as an entity in hubspot.

 

Our application is using PHP(laravel framework) and is using rossjcooper/laravel-hubspot package. The url that is being called  is `/companies/v2/companies/XXXXX/contacts/YYYY`.

 

Please look into this.

 

Thanks

0 Upvotes
2 Replies 2
Jaycee_Lewis
Community Manager
Community Manager

Contact is not being associated with company

Hey, @YArafat 👋 For help with 3rd party repos, you'll need to reach out to the repository itself for help. It looks like you can post for help here — Issues. Based on a recent help request, it looks like the dev aware this repo needs to be updated.

 

Additionally, I am trying to find the specific endpoint you are referencing, is it this one? Add Contact to Company 

 

 

PUT /companies/v2/companies/:companyId/contacts/:vid

 

 

Thanks for the additional information! — Jaycee

linkedin

Jaycee Lewis

Developer Community Manager

Community | HubSpot

0 Upvotes
YArafat
Member

Contact is not being associated with company

Hi Jaycee,

 

Thanks for looking into this. Yes, that is the endpoint - Add Contact To Company.

 

Regarding 3rd party repo, yes the one we are currently using probably needs to be updated to use the latest hubspot api. However, my question is the endpoint that we are hitting at hubspot eventually, returns a successful response. Doesn't that mean the contact has been associated with the parent company?

0 Upvotes