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

# Create Channel

Create a new channel in a team.

**Required Permissions**:

* Public Channel: `create_public_channel`.
* Private Channel: `create_private_channel`.

<Note>
  External Documentation

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

## Basic Parameters

<div className="integrations-table">
  | Parameter    | Description                                                           |
  | ------------ | --------------------------------------------------------------------- |
  | Display Name | The display name of the channel.                                      |
  | Name         | The unique name of the channel to create.                             |
  | Team ID      | The ID of the team. Can be obtained from the `List All Teams` action. |
  | Type         | Select the channel visibility type.                                   |
</div>

## Advanced Parameters

<div className="integrations-table">
  | Parameter             | Description                                                                                                                                                              |
  | --------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
  | Header                | The markdown-formatted header text displayed above the post input in the channel.                                                                                        |
  | Managed Category Name | The name of the managed category to assign this channel to. Requires an Enterprise license and the `EnableManagedChannelCategories` configuration setting to be enabled. |
  | Purpose               | A short description of the channel's purpose.                                                                                                                            |
</div>

## Example Output

```json theme={"dark"}
{
	"id": "string",
	"create_at": -9007199254740991,
	"update_at": -9007199254740991,
	"delete_at": -9007199254740991,
	"team_id": "string",
	"type": "string",
	"display_name": "string",
	"name": "string",
	"header": "string",
	"purpose": "string",
	"last_post_at": -9007199254740991,
	"total_msg_count": 0,
	"extra_update_at": -9007199254740991,
	"creator_id": "string"
}
```

## Workflow Library Example

[Create Channel with Mattermost and Send Results Via Email](https://library.blinkops.com/workflows/create-channel-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/create-channel-with-mattermost-and-send-results-via-email/canvas" />
</div>
