GET
/
v1
/
oauth2
/
userinfo
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
}

Authorizations

Authorization
string
header
required

You can generate an Organization Access Token from your organization's settings.

Response

200 - application/json

Successful Response

The response is of type object.