> ## 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 All Channels

Retrieve a paginated list of channels.

**Required Permissions**: `manage_system`

<Note>
  External Documentation

  To learn more, visit the [Mattermost documentation](https://developers.mattermost.com/api-documentation/#/operations/GetAllChannels).
</Note>

## Parameters

<div className="integrations-table">
  | Parameter                  | Description                                                           |
  | -------------------------- | --------------------------------------------------------------------- |
  | Exclude Default Channels   | Select to exclude the default channels from the returned list.        |
  | Exclude Policy Constrained | Select to exclude policy-constrained channels from the returned list. |
  | Include Deleted            | Select to include deleted items in the response.                      |
  | Not Associated To Group    | The group ID used to exclude channels from the results.               |
  | Page                       | The page number to retrieve, starting at `0`.                         |
  | Per Page                   | The maximum number of items to retrieve per page.                     |
  | Return All Pages           | Automatically fetch all resources, page by page.                      |
</div>

## Example Output

```json theme={"dark"}
[
	{
		"id": "string",
		"create_at": 0,
		"update_at": 0,
		"delete_at": 0,
		"team_id": "string",
		"type": "string",
		"display_name": "string",
		"name": "string",
		"header": "string",
		"purpose": "string",
		"last_post_at": 0,
		"total_msg_count": 0,
		"extra_update_at": 0,
		"creator_id": "string",
		"team_display_name": "string",
		"team_name": "string",
		"team_update_at": 0,
		"policy_id": "string"
	}
]
```

## Workflow Library Example

[List All Channels with Mattermost and Send Results Via Email](https://library.blinkops.com/workflows/list-all-channels-with-mattermost-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-all-channels-with-mattermost-and-send-results-via-email/canvas" />
</div>
