A set of npm packages for building Slack apps in Node, covering Web API calls, OAuth, incoming webhooks, and Socket Mode event listening.
Overview
The Node Slack SDK is a collection of focused npm packages rather than one monolithic client. Each package maps to a Slack platform surface so developers can import only what a given app needs.
The Web API package exposes a WebClient for calling Slack REST methods, including posting messages to channels, DMs, and groups with appropriate OAuth scopes. OAuth package setup covers V2 OAuth for modern Slack apps and V1 flows for classic apps. Webhook package supports incoming webhooks and workflow triggers. Socket Mode package listens for events over WebSocket when HTTP callbacks are undesirable.
Official docs steer newer event and interactive flows toward Bolt for JavaScript, noting that older events-api and interactive-messages packages reached end of life. Installation is via standard Node package managers; support covers current Node LTS generations.
Getting started material includes a tutorial for a first Slack app, per-package reference docs, an issue tracker, and developer support email contacts.
Key features
- @slack/web-api WebClient for REST methods
- @slack/oauth for Slack app authentication
- @slack/webhook for incoming webhooks
- @slack/socket-mode for WebSocket events
- Modular packages per Slack API area
- Getting Started tutorial for new apps
- Published reference documentation
Use cases
- Posting notifications from Node services
- Building interactive Slack bots
- OAuth installs for workspace apps
- Socket Mode apps without public HTTP endpoints