Get / add multiple domains from API

In Hubspot, you can add multiple domains to a company. Is there a way to get all those domains via the API and add new domains via the API? So not overwrite it, but add multiple domains to the existing one.

Hey @MaaikeZ

At this time, that is not possible. I would recommend adding it to the ideas forum and posting a link here so we can upvote. I imagine this type of functionality will eventually be added.

Out of curiousity, what is your use case?

Thanks

Hello Dennis,

Thanks for your reply.

We get information from another system which we want automatically insert into Hubspot. The other system can have multiple websites. So we want to add all these website to Hubspot. That’s the use case behind the question :).

https://community.hubspot.com/t5/HubSpot-Ideas/Get-set-all-domain-url-s-via-API/idi-p/379344

Another use case I’ve run into is doing a match on domain and finding more than 1 match when in reality there are just more than 1 domain listed for a company.