Skip to main content

Interface Parameters

Pass one of agent, team, or workflow to the Slack constructor.

Endpoints

Available at the /slack prefix (customizable with prefix).

POST {prefix}/events

Receives all Slack events (URL verification, messages, app mentions, thread starts).

POST {prefix}/interactions

Handles Slack interactive components for Human-in-the-Loop (HITL) features: button clicks, form submissions, and approval/denial actions.
HITL features require this endpoint. Configure Interactivity & Shortcuts in your Slack App settings and set the Request URL to {your-url}{prefix}/interactions.

Built-in Event Handling

OAuth Scopes

Add scopes in your Slack App under OAuth & Permissions > Bot Token Scopes.

Minimum (streaming bot)

All five scopes above are required for a functional streaming bot. Missing app_mentions:read means the bot won’t receive @mentions; missing channels:read causes channel name resolution to fail silently.

File Handling

SlackTools Methods

Feature-Specific

Event Subscriptions

Subscribe to events under Event Subscriptions > Subscribe to bot events.

Developer Resources

Overview

Quick start with agents, teams, and workflows.

Setup Guide

Create a Slack App with the manifest.

SlackTools

Toolkit methods for messaging, search, and files.