Get information about an access token.
Python
from polar_sdk import Polar with Polar() as polar: res = polar.oauth2.introspect(request={ "token": "<value>", "client_id": "<id>", "client_secret": "<value>", }) # Handle response print(res)
{ "active": true, "client_id": "<string>", "token_type": "access_token", "scope": "<string>", "sub_type": "user", "sub": "<string>", "aud": "<string>", "iss": "<string>", "exp": 123, "iat": 123 }
access_token
refresh_token
Successful Response
user
organization
Was this page helpful?