Get contact profile url and portal-id with V3 APIS

hemal108
Member

With V3 contact search API, i am unable to get portal-id or profile-url in response. As its not part of properties, someone please can help me how can i get these details.

3 Replies 3
WendyGoh
HubSpot Employee

Hey @hemal108,

 

At the moment, both the `portal-id` and `profile-url` isn't something that we return on the crm v3 api. 

 

Having said that, if you want to get equivalent profile URLs using the v3 api, one workaround would be to construct the URL yourself - it's in the format https://app.hubspot.com/contacts/{portalId}/{objectType}/{objectId}

 

As for the `portal-id`, I'll have to check in with the internal team to see if there's any workaround for it.

 
0 Upvotes
kmuenze
Participant

I've been using v1 contacts and getting contacts using https://api.hubapi.com/contacts/v1/contact/vid/ but it looks like today the portal-id and profile-url have stopped returning.

 

Would be great if those were avalaible to us so we can link people back to the right hubspot profile url.

Lnnrt
Member

Hi Wendy, any updates on this? Was wondering how to fetch the portalId on v3 as well