Determine scopes of access token

Is there an API I can call to determine what scopes are granted to a particular access token?

1 Like

Hi, where does the access token come from? (eg. A SmartApp, API access app, etc.)

Let’s say it’s a PAT.

Up to now, the scopes of an Access Token are not accessible through the ST API.
You can see the scopes in the tokens page of each PAT created in your account.
For the SmartApp and API Access App, the scopes are included in the response payload when the Access Token is granted.

I could try to call some APIs using the PAT and see if access is granted, but it’s inefficient.

It would be great to be able to retrieve PAT scopes from an API.

1 Like