Get information about the authenticated user.
Python
from polar_sdk import Polar with Polar( access_token="<YOUR_BEARER_TOKEN_HERE>", ) as polar: res = polar.oauth2.userinfo() # Handle response print(res)
{ "sub": "<string>", "name": "<string>", "email": "<string>", "email_verified": true }
You can generate an Organization Access Token from your organization's settings.
Successful Response
Was this page helpful?