Skip to main content

List Organizations

Get a paginated list of organizations you have access to.

Basic Parameters

ParameterDescription
Group IDIf set, only return organizations within the specified group.
Is PersonalIf true, only return organizations that are not part of a group.
NameOnly return orgs whose name contains this value.
SlugOnly return orgs whose slug exactly matches this value.

Advanced Parameters

ParameterDescription
Ending BeforeReturn the page of results immediately before this cursor.
LimitNumber of results to return per page.
Starting AfterReturn 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

Workflow LibraryPreview this Workflow on desktop