> ## 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 Departments

List departments in the organization.

<Note>
  External Documentation

  To learn more, visit the [Zoho Desk documentation](https://desk.zoho.com/DeskAPIDocument#Departments#Departments_Listdepartments).
</Note>

## Basic Parameters

<div className="integrations-table">
  | Parameter        | Description                                                                                                                                                                        |
  | ---------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
  | From             | The index number starting from which the departments must be fetched. Starts at `0`.                                                                                               |
  | Is Enabled       | Select to filter departments by their enabled status.                                                                                                                              |
  | Limit            | The maximum number of departments to get per page. Valid range is `1` to `200`.                                                                                                    |
  | Return All Pages | Automatically fetch all resources, page by page.                                                                                                                                   |
  | Search String    | Search for departments by name, help center name, or description.<br /><br />Supported search patterns: `string*` (starts with), `*string*` (contains), or `string` (exact match). |
</div>

## Advanced Parameters

<div className="integrations-table">
  | Parameter   | Description                              |
  | ----------- | ---------------------------------------- |
  | Chat Status | Filter departments by their chat status. |
</div>

## Example Output

```json theme={"dark"}
{
	"data": [
		{
			"isAssignToTeamEnabled": true,
			"chatStatus": "AVAILABLE",
			"isDefault": true,
			"hasLogo": true,
			"isVisibleInCustomerPortal": true,
			"isEnabled": true,
			"name": "Zylker",
			"creatorId": "1892000000042001",
			"description": "Zylker Inc. is a multinational technology company that designs, develops, and sells consumer electronics.",
			"createdTime": "2019-07-26T13:11:02.000Z",
			"id": "1892000000082069",
			"nameInCustomerPortal": "ZylCares"
		},
		{
			"isAssignToTeamEnabled": true,
			"chatStatus": "AVAILABLE",
			"isDefault": false,
			"hasLogo": true,
			"isVisibleInCustomerPortal": true,
			"isEnabled": true,
			"name": "zPad",
			"creatorId": "1892000000042001",
			"description": "zPad is the most advanced tablet that brings you the never-experienced-before processing power.",
			"createdTime": "2019-08-25T10:12:04.000Z",
			"id": "1892000000082085",
			"nameInCustomerPortal": "zPad"
		}
	]
}
```

## Workflow Library Example

[List Departments with Zoho Desk and Send Results Via Email](https://library.blinkops.com/workflows/list-departments-with-zoho-desk-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-departments-with-zoho-desk-and-send-results-via-email/canvas" />
</div>
