We're creating an API to create a company in HubSpot upon website form submission, but what we need is the form to create a company and a contact at the same time. Is this possible? It won't be as easy as using the domain to link them the usual way, as a lot of our clients (companies) will have gmail, googlemail, hotmail domains for example - they aren't all bespoke companies as such.
What we need is the company to be created (via API), then the contact be created (via API), but these two records will need to link somehow?
I'm thinking the options would be one of below - but can you advise if either is possible please?
- API to automatically create the company record, then somehow automatically create an associated contact.
- API to create the company record, then at the same time API create a contact record. Somehow link these two records.