APIs & Integrations

Shatayu_Kulkarn
Member

Get username/email of user signed in

Is there any way to get any data about the user signed in to my Hubspot API-using app? Some function or API call I can use to get data I can compare against the results from the getting all owners API callI? I need to automatically assign engagements to the person who is making them (from my app).

0 Upvotes
1 Reply 1
Derek_Gervais
HubSpot Alumni
HubSpot Alumni

Get username/email of user signed in

Hi @Shatayu_Kulkarni,

You can compare the email address of the user logged into your app with the emails provided by the Owners API, and assign the tasks accordingly:

Get Owners | Owners API

GET /owners/v2/owners/ - Get a list of owners from the HubSpot API.

0 Upvotes