0

I was asking How should one fetch Application Permissions via API?, but apparently it wasn't so clear, so I'll try to rephrase it. What I am trying to do, is to fetch thru API the scopes of all of the connected apps that are not part of my organization.

For example, I installed Slack, and when navigating to its connected app page, I see the following:

enter image description here

Therefore I know the application has scopes, yet I can't figure out how to fetch those neither thru the SOAP API nor thru the metadat API.

Any help will be appreciated.

10
  • You won't be able to fetch scopes of apps that are not installed in your org. What are you trying to achieve?
    – identigral
    Aug 17 at 17:55
  • Thanks @identigral! Why do you think it is not installed in my org? I've installed it thru the marketplace, and I have the uninstall button, doesn't it mean it is installed? Aug 17 at 18:00
  • You wrote: fetch thru API the scopes of all of the connected apps that are not part of my organization . If you meant fetch thru API the scopes of all of the connected apps that are installed in my org, then doesn't this Q&A answer it?
    – identigral
    Aug 17 at 18:02
  • Not really, because iget in this call only the applications that I created, and not all of the applications that were installed in my org. By not part of my org I meant external applications that other vendors created. Aug 17 at 18:13
  • There's no API for this. You have to request an access token via the app and introspect it
    – identigral
    Aug 17 at 19:10

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.