How to build a contact URL depending user subdomain
SOLVE
Hi,
We are using the old API and we have seen that `profile-url` was deprecated, therefore we need to build the contact URL from ourselves having `vid` and `portal-id` (hub id). https://app.hubspot.com/contacts/:hubid/contact/:vid
How to build a contact URL depending user subdomain
SOLVE
Sorry for the delay here. There is an account-info API that we're still working on getting added to our API documentation. In the meantime you can hit this endpoint:
The response will include a uiDomain field, such as app.hubspot.com or app-eu1.hubspot.com. This can be used to generate links into the HubSpot product. Let us know if you run into any issues
How to build a contact URL depending user subdomain
SOLVE
Sorry for the delay here. There is an account-info API that we're still working on getting added to our API documentation. In the meantime you can hit this endpoint:
The response will include a uiDomain field, such as app.hubspot.com or app-eu1.hubspot.com. This can be used to generate links into the HubSpot product. Let us know if you run into any issues
How to build a contact URL depending user subdomain
SOLVE
I think someone explained why this happens. Although I don't know yet how to solve it. I'd need to know how to know which region the user is in and then, build the URL according to that.
I reported this to the team last week. It is almost through development. Believe a pull request has been made and we are waiting on it to be merged to prod.
There will also be some documentation added to the developer docs about this. Not sure where or when, yet, but keep your eyes on the lookout