Org and group identification for Projects using the API
The Org Id is defined by Snyk and is the same in both the V1 and REST API. For Projects, the best identifier depends on the Snyk product.
In the Snyk REST API, you can:
Get a list of groups identified by GroupId using Get a group (GET /groups/{group_id}):
Get the list of Orgs that you have access to, identified by Orgid, using Get organization (GET /orgs/{org_id}).
To get more data, you can use Snyk API v1:
Find the Groupid: (List all the organizations a user belongs to).
Request a list of Orgs (identified by Orgid) based on a Groupid: (List all organizations in a group).
Last updated