> ## Documentation Index
> Fetch the complete documentation index at: https://docs.blinkops.com/llms.txt
> Use this file to discover all available pages before exploring further.

# List Organizations

Retrieve a list of organizations in your Huntress account.

<Note>
  External Documentation

  To learn more, visit the [Huntress documentation](https://api.huntress.io/docs#rest-api/tag/organizations/GET/v1/organizations).
</Note>

## Parameters

<div className="integrations-table">
  | Parameter        | Description                                                                                                       |
  | ---------------- | ----------------------------------------------------------------------------------------------------------------- |
  | Key              | The organization key to filter the results by.                                                                    |
  | Limit            | The maximum number of results to return per page. Defaults to `10`, with a minimum of `1` and a maximum of `500`. |
  | Name             | The organization name to filter the results by.                                                                   |
  | Page Token       | The token used to retrieve the next page of results.                                                              |
  | Return All Pages | Automatically fetch all resources, page by page.                                                                  |
  | Sort Direction   | Select the sort direction for the results.                                                                        |
  | Sort Field       | Select the field to sort the results by.                                                                          |
</div>

## Example Output

```json theme={"dark"}
{
	"organizations": [
		{
			"id": 1,
			"agents_count": 42,
			"account_id": 5,
			"created_at": "2022-03-01T18:54:02Z",
			"incident_reports_count": 42,
			"key": "test1",
			"logs_sources_count": 42,
			"identity_provider_tenant_id": "dcd219dd-bc68-4b9b-bf0b-4a33a796be35",
			"billable_identity_count": 42,
			"name": "Acme Inc.",
			"report_recipients": [
				"test@test.com",
				"fakenotificiation@test.com"
			],
			"sat_learner_count": 42,
			"updated_at": "2022-03-01T18:54:02Z"
		}
	],
	"pagination": {
		"next_page_url": "string",
		"next_page_token": "string"
	}
}
```

## Workflow Library Example

[List Organizations with Huntress and Send Results Via Email](https://library.blinkops.com/workflows/list-organizations-with-huntress-and-send-results-via-email)

<div className="iframe-wrapper">
  <div className="iframe-media">
    <img src="https://mintcdn.com/blinkops-2/ojHYuDeYX5FWuN8a/img/Icons/play-box.svg?fit=max&auto=format&n=ojHYuDeYX5FWuN8a&q=85&s=b8af968e71438a9499c3223c9bd29fb2" alt="Workflow Library" width="16" height="16" data-path="img/Icons/play-box.svg" />

    Preview this Workflow on desktop
  </div>

  <iframe className="iframe" src="https://library.blinkops.com/workflows/list-organizations-with-huntress-and-send-results-via-email/canvas" />
</div>
