---
title: "Create Channel For Dataset"
method: POST
path: "/slack/channels/datasets"
tags: ["Slack App"]
---

# Create Channel For Dataset

`POST /slack/channels/datasets`

## Request

- Base URL: `https://api.akkio.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.akkio.com/slack/channels/datasets`
- Auth: none declared

Create new Slack channel corresponding to a given dataset_id and returns the mapping.

## Request body

- CreateChannelPayload
  - `flow_id` string, required
  - `dataset_id` string, required
  - `owner_id` string, required

## Response `201`

Successful Response

- SlackChannelMapping
  - `id` string, required
  - `dataset_id` string, required
  - `slack_channel_id` string, required
  - `slack_channel_name` string, required
  - `flow_id` string, nullable

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/akkio/apis/akkio-api.md) - [All operations](https://skmtc.dev/akkio/apis/akkio-api/llms.txt) - [OpenAPI document](https://skmtc.dev/akkio/apis/akkio-api/revisions/c477deff6271?raw)
