how to get current user profile info and current hub account details?
SOLVE
I would like to obtain by using access_token the current user profile data such as first name, last name, phone number, address. And also current hub data such as account name, account domain, hub address, hub phone number. Which API should I use?
how to get current user profile info and current hub account details?
SOLVE
Hi @RMones@dennisedson any update on this I am actually looking for the currently logged-in user email address which I need in the HubSpot workflow to pass in the API.
I used these endpoints and it turns out they don't always return the right user that has actually logged in, but instead they sometimes return me another user
Do you know why? Is there any other endpoint that does the job reliably?
how to get current user profile info and current hub account details?
SOLVE
Hey all, I am also very eager to do this. I am desperately trying to add HubSpot to the popular NextAuth library but can't if I can't easily get hold of a profile for the currently logged in user. I dug around some other attempts at providing providers for other libraries (notably PassportJS) and could only find api.hubapi.com/oauth/v1/access-tokens/${accessToken} which will give you just the email of the respective token....