---
title: "Add Slack Bot To Channel"
method: POST
path: "/api/slack/bot"
tags: ["Slack"]
---

# Add Slack Bot To Channel

`POST /api/slack/bot`

Add Slack bot to a channel.

## Request body

- SlackBotChannelSchema — Schema for representing Slack bot channel information.
  - `bot_id` string, uuid, required
  - `slack_channel_id` string, required
  - `slack_team_id` string, required
  - `session_id` string, uuid, nullable — Optional session ID associated with the bot channel.

## Response `200`

Successful Response

- HttpResponseSchema — HTTP Response Schema.
  - `message_code` integer, required — Numeric code indicating the type of message or response.
  - `message` string, required — Human-readable message providing additional context about the response.
  - `data` unknown

## Other responses

- `422` — Validation Error

## Changes

> 3 revisions in range; 1 not diffed.

- **2023-11-08** `dbd91277da05` — 3 breaking, 1 warning, 1 info
  - the response's body type/format changed from `object`/`` to ``/`` for status `200`
  - removed the required property `message` from the response with the `200` status
  - removed the required property `message_code` from the response with the `200` status
  - removed the optional property `data` from the response with the `200` status
  - …1 more

[Change history](https://skmtc.dev/chat-fly/apis/chatfly-backend-application/changes/api/slack/bot/post.md)

---

[API](https://skmtc.dev/chat-fly/apis/chatfly-backend-application.md) · [All operations](https://skmtc.dev/chat-fly/apis/chatfly-backend-application/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/chat-fly/chatfly-backend-application/revisions/cbb37496f138/schema)
