How to get current user's email or user email by portalId
SOLVE
The `GET /integrations/v1/me` endpoint allows me to get, among other things, current user's portalId (by "curent user" I mean user that token has been issued for).
How to get current user's email or user email by portalId
SOLVE
Hi @Łukasz , do you mean when making a GET to /oauth/v1/access-tokens/:token? The call to `GET /integrations/v1/me` just returns the Portal ID (often called the Hub ID) of the account, the time zone setting of the account, and the selected currency of the account. No information about a token is returned.
If you're using this endpoint you should be returned the authenticating user's email address already. Let me know if I'm misunderstanding
How to get current user's email or user email by portalId
SOLVE
Hi @Łukasz , do you mean when making a GET to /oauth/v1/access-tokens/:token? The call to `GET /integrations/v1/me` just returns the Portal ID (often called the Hub ID) of the account, the time zone setting of the account, and the selected currency of the account. No information about a token is returned.
If you're using this endpoint you should be returned the authenticating user's email address already. Let me know if I'm misunderstanding