Skip to main content
Retrieve a list of organizations that are accessible to the user.
External DocumentationTo learn more, visit the Snyk documentation.

Basic Parameters

ParameterDescription
Group IDThe ID of the group to filter the results by.
Is PersonalSelect to return only organizations that are not associated with a group.
Organization NameThe organization name to filter results by.

Note: Maximum 100 characters.
Return All PagesAutomatically fetch all resources, page by page.
SlugThe organization slug to filter results by.

Note: The slug can contain only letters, numbers, underscores, dots, or hyphens. Maximum 100 characters.

Advanced Parameters

ParameterDescription
Ending BeforeThe pagination cursor used to return the page before this token.
LimitThe maximum number of organizations to return in the response.

Note Valid values are between 10 and 100, in multiples of 10.
Starting AfterThe pagination cursor used to return the page after this token.

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