Messages, channels, users, and bots. Build on top of where teams work.
https://slack.com/api
The Slack Web API provides programmatic access to your Slack workspace. Post messages, read channel history, manage users, upload files, and build interactive bots. Every method is a separate endpoint under /api/.
Bot tokens (xoxb-) are the recommended approach. They have granular OAuth scopes and don't break when a user leaves. The API uses a mix of JSON bodies and query parameters depending on the method.
chat:write, channels:read)xoxb-| Method | Path | Description |
|---|---|---|
| POST | /chat.postMessage |
Send a message to a channel or DM |
| GET | /conversations.list |
List channels in the workspace |
| GET | /conversations.history |
Fetch message history for a channel |
| GET | /users.list |
List all workspace members |
| GET | /users.info |
Get a user's profile |
| POST | /reactions.add |
Add an emoji reaction to a message |
| POST | /files.uploadV2 |
Upload a file to a channel |
| GET | /team.info |
Get workspace metadata |
Post to a channel when your CI/CD pipeline deploys, fails, or needs approval.
Send alerts from monitoring systems directly to Slack channels.
Read message history and user data for workspace analytics and reporting.
Build bots that respond to messages, manage approvals, and trigger actions.