Retrieve the App Org IDs
To use the Snyk API in your App, you must know the Snyk Org ID that the user has authorized the App for.
To retrieve this information, send a GET request to the orgs endpoint:
1
https://api.snyk.io/v3/apps/{clientId}/orgs?version={version}
Copied!
The current version can be found in our API documentation.
We recommend you store this value and associate it with the user's details.
For the beta release of Snyk Apps, users may only install an App on a single Organization per authorization request.
Last modified 2d ago
Export as PDF
Copy link
Edit on GitHub