APIs & Integrations

ankittya
Member

Get user details from access token

Hi,
How can we get logged-in user details after getting access token? Is there an endpoint which takes access-token/user-id and provide logged in user details like email, user name, first name, last name etc?

We are integrating hubspot OAuth with loopback and passport.

Thanks
Ankit

0 Upvotes
2 Replies 2
vikram-mit
Participant

Get user details from access token

We are now in 2021. Is it possible now?

0 Upvotes
Derek_Gervais
HubSpot Alumni
HubSpot Alumni

Get user details from access token

Hi @ankittya,

When a user authorizes an app, the access/refresh token provided are tied to the portal, not the user. It’s not currently possible to pull user information from HubSpot.

0 Upvotes