APIs & Integrations

altjx
Mitwirkender/Mitwirkende

Creating company via domain name

lösung

I am trying to create a company via its domain name through the API. Is this possible?

I've been using the Hubspot API for quite some time now and things have been working flawlessly. I've been hesitating to research this one issue that I have because I'm afraid it's not possible. However, now that I'm expanding the functionality of my application, I am really curious to adding a company via its domain is popular at all.

Any assistance would be greatly appreciated.

0 Upvotes
1 Akzeptierte Lösung
IsaacTakushi
Lösung
HubSpot Employee
HubSpot Employee

Creating company via domain name

lösung

Hi @altjx,

You can certainly create a company via this endpoint and include the domain property and value, but it's not required in order to create a company record.

Here's a simple POST body that would create a company record for HubSpot:

{
  "properties": [
    {
      "name": "name",
      "value": "HubSpot"
    },
    {
      "name": "domain",
      "value": "www.hubspot.com"
    }
  ]
}

Isaac Takushi

Associate Certification Manager

Lösung in ursprünglichem Beitrag anzeigen

0 Upvotes
1 Antwort
IsaacTakushi
Lösung
HubSpot Employee
HubSpot Employee

Creating company via domain name

lösung

Hi @altjx,

You can certainly create a company via this endpoint and include the domain property and value, but it's not required in order to create a company record.

Here's a simple POST body that would create a company record for HubSpot:

{
  "properties": [
    {
      "name": "name",
      "value": "HubSpot"
    },
    {
      "name": "domain",
      "value": "www.hubspot.com"
    }
  ]
}

Isaac Takushi

Associate Certification Manager
0 Upvotes