> ## Documentation Index
> Fetch the complete documentation index at: https://docs.vibeflow.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Slack

> Messaging and notification endpoints for Slack

Slack messaging and notification endpoints for sending messages, managing reactions, and retrieving channel information.

**Required Configuration:**

* API Key (Bot Token)

## Getting Your Bot Token

<Steps>
  <Step title="Create a Slack App">
    Go to [api.slack.com/apps](https://api.slack.com/apps) and click **Create New App** → **From scratch**. Give it a name and select your workspace.
  </Step>

  <Step title="Add Bot Token Scopes">
    In the left sidebar, go to **OAuth & Permissions**. Under **Scopes** → **Bot Token Scopes**, add the permissions your app needs (e.g. `chat:write`, `channels:read`, `users:read`).
  </Step>

  <Step title="Install the app to your workspace">
    Scroll up to **OAuth Tokens for Your Workspace** and click **Install to Workspace**. Approve the permissions when prompted.
  </Step>

  <Step title="Copy the Bot Token">
    After installation, copy the **Bot User OAuth Token** (starts with `xoxb-`). Add it to your VibeFlow connector.
  </Step>
</Steps>

## Available Endpoints

<AccordionGroup>
  <Accordion title="POST /api/actions/slack/send-message">
    Send a message to a Slack channel or DM
  </Accordion>

  <Accordion title="POST /api/actions/slack/list-channels">
    List all channels in the Slack workspace
  </Accordion>

  <Accordion title="POST /api/actions/slack/get-channel-info">
    Get detailed information about a specific channel
  </Accordion>

  <Accordion title="POST /api/actions/slack/get-user-info">
    Get detailed information about a specific user
  </Accordion>

  <Accordion title="POST /api/actions/slack/list-users">
    List all users in the Slack workspace
  </Accordion>

  <Accordion title="POST /api/actions/slack/get-conversation-history">
    Retrieve message history from a channel or direct message
  </Accordion>

  <Accordion title="POST /api/actions/slack/get-thread-replies">
    Retrieve all replies to a thread in a channel
  </Accordion>

  <Accordion title="POST /api/actions/slack/update-message">
    Update an existing message in a channel
  </Accordion>

  <Accordion title="POST /api/actions/slack/delete-message">
    Delete a message from a channel
  </Accordion>

  <Accordion title="POST /api/actions/slack/add-reaction">
    Add an emoji reaction to a message
  </Accordion>

  <Accordion title="POST /api/actions/slack/remove-reaction">
    Remove an emoji reaction from a message
  </Accordion>
</AccordionGroup>
