---
title: "Share a message to a Slack channel"
method: POST
path: "/channels/slack/messages"
---

# Share a message to a Slack channel

`POST /channels/slack/messages`

## Request

- Base URL: `https://api.bamf.ai/v1`
- URL: `https://api.bamf.ai/v1/channels/slack/messages`
- Auth: HTTP bearer

Posts a short message (1 to 3000 characters) to an allowed client Slack channel, attributed to the calling agent on behalf of the creator. The channel must have an enabled policy with posting allowed. dry_run returns the exact message preview and never calls Slack. Requires channels:write. MCP: bamf.share_to_channel.

## Request body

- object
  - `creator_id` string, uuid, required
  - `channel_id` string, required
  - `text` string, required
  - `link` string, uri: Optional https link appended to the message.
  - `dry_run` boolean

## Response `200`

Dry-run preview

- GenericDataResponse
  - `data` unknown

## Other responses

- `201`: Message posted

## Changes

- **2026-10-20** `a390dd3294bd`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/bamf/apis/bamf-developer-platform-api/changes/channels/slack/messages/post.md)

---

[API](https://skmtc.dev/bamf/apis/bamf-developer-platform-api.md) · [All operations](https://skmtc.dev/bamf/apis/bamf-developer-platform-api/llms.txt) · [OpenAPI document](https://skmtc.dev/bamf/apis/bamf-developer-platform-api/revisions/a390dd3294bd?raw)
