How to get a contact's data by ID with the new APIs ?
解決
Hi !
I think the question has been asked lots of time before, but the best documentation I can find only pertains to the old API...
I'd like to use a backend function to check the current visitor to our website (not hosted on Hubspot) using their hubspotutk cookie, and get some of their Hubspot properties so we can customize our content based on who they are.
My question is twofold :
1. Is there a reason why this would be a bad idea, security-wise or otherwise ?
2. Is there a way to do this ?
With the old API I could easily get what I wanted using the contact's VID, but I can't find the equivalent in the new one.
Presently, there is not an v3 equivelant which is why these v1 endpoints are still maintained and supported. I was informed a couple days ago that the team is pushing to bridge the gap between the two. In the interim, you should feel safe employing the v1 endpoint.
Presently, there is not an v3 equivelant which is why these v1 endpoints are still maintained and supported. I was informed a couple days ago that the team is pushing to bridge the gap between the two. In the interim, you should feel safe employing the v1 endpoint.