HubSpot Ideas

MaaikeZ

Get / set all domain url's via API

Currently, it is possible to add multiple domain url's. However, with the API it is only possible to get and change the first domain url to Hubspot. It would be nice if we would be able to set / get them all. For example in a ';' seperated string (like the multiple checkboxes field).

10 Replies
Dedupely
Contributor

We need this as well. It's a critical part of the app but we're out of luck since it's not supported currently.

AdamAllcock
Member

Absolutely need this!

AdamAllcock
Member

Still need this. And poor deduplely, it must be so frustrating.

JDavis96
Member

We really need this as well.  We are currently migrating systems and unable to do multiple domains for companies.  It's causing a lot of extra work.   Please add this to the API.

bohart
Participant

It's weird when we can add/view multiple domains via UI and only the first one via API. Please update Hubspot API. Thanks.

Maksym
Member

Thumbs up!

dtrikannad
Participant

Another Thumbs Up!

dtrikannad
Participant

Another thumbs up!

AMARIE
Participant

It's possible to get it (I didn't try to update it), HubSpot don't have the documentation though.

The property name is hs_additional_domains.
Here's an example with https://api.hubapi.com/crm/v3/objects/companies/batch/read endpoint.

 

I found it as our ETL retrieve it, I've tried with the same property name and it worked.


AMARIE_0-1733496593647.png

 

NNickerson
Member

It looks like this is now possible based on this example given in the Companies endpoint documentation.

 

"If a company has multiple domains, you can add them through the API by using the hs_additional_domains field with semicolons separating each domain. For example: "hs_additional_domains" : "domain.com; domain2.com; domain3.com"."