List Organizations
Get a paginated list of organizations you have access to.
Basic Parameters
Parameter | Description |
---|---|
Group ID | If set, only return organizations within the specified group. |
Is Personal | If true, only return organizations that are not part of a group. |
Name | Only return orgs whose name contains this value. |
Slug | Only return orgs whose slug exactly matches this value. |
Advanced Parameters
Parameter | Description |
---|---|
Ending Before | Return the page of results immediately before this cursor. |
Limit | Number of results to return per page. |
Starting After | Return the page of results immediately after this cursor. |
Example Output
{
"data": [
{
"attributes": {
"group_id": "59d6d97e-3106-4ebb-b608-352fad9c5b34",
"is_personal": true,
"name": "My Org",
"slug": "my-org"
},
"id": "59d6d97e-3106-4ebb-b608-352fad9c5b34",
"type": "resource"
}
],
"jsonapi": {
"version": "1.0"
},
"links": {
"first": "https://example.com/api/resource?ending_before=v1.eyJpZCI6IjExIn0K",
"last": "https://example.com/api/resource?starting_after=v1.eyJpZCI6IjMwIn0K",
"next": "https://example.com/api/resource?starting_after=v1.eyJpZCI6IjEwIn0K"
}
}
Workflow Library Example
List Organizations with Snyk and Send Results Via Email
Preview this Workflow on desktop