Slack Developer



The Slack platform offers several APIs to build apps. Each Slack API delivers part of the capabilities from theplatform, so that you can pick just those that fit for your needs. This SDK offers a corresponding package for each ofSlack’s APIs. They are small and powerful when used independently, and work seamlessly when used together, too.

Slack api example

An easy-to-use and flexible API for writing Slack bots in.NET, built on top of a comprehensive Slack API client. Getting Started. There are three main NuGet packages available to install, depending on your use case. SlackNet: A comprehensive Slack API client for.NET. SlackNet.Bot: Easy-to-use API for writing Slack bots. Slack is the collaboration platform that moves work forward. Join a Slack Platform Community group to connect with other developers, builders, designers, and product managers who are interested in building the future of work. We get together to talk about what we’ve built, check out new platform releases, and learn from each other.

Just starting out? The Getting Started tutorial willwalk you through building your first Slack app using Node.js.

Slack APIWhat its forNPM Package
Web APISend data to or query data from Slack using any of over 130 methods.@slack/web-api
Events APIListen for incoming messages and many other events happening in Slack, using a URL.@slack/events-api
Interactive MessagesRespond to button clicks, dialogs, and other interactions with messages.@slack/interactive-messages
OAuthSetup the authentication flow using V2 OAuth for Slack apps as well as V1 OAuth for classic Slack apps.@slack/oauth
RTM APIListen for incoming messages and a limited set of events happening in Slack, using websockets.@slack/rtm-api
Incoming WebhooksSend notifications to a single channel which the user picks on installation.@slack/webhook

Not sure about which APIs are right for your app? Read our blogpost that explains the options.If you’re still not sure, reach out for help and our community can guide you.

If you’re looking for an all-in-one solution that hides the underlying Slack APIs, but simplifies building a bot-styleapp inside Slack, try the Hubot Slack adapter. Hubot is a popular frameworkfor internal apps that automate workflows, perform ChatOps, or just generate silly memes.

Installation

Slack Developer Api

Use your favorite package manager to install any of the packages and save to your package.json:

Requirements

Slack Developer Community

This package supports Node v8 LTS and higher. It’s highly recommended to use the latest LTS version ofnode, and the documentation is written using syntax and featuresfrom that version.

Getting Help

If you get stuck, we’re here to help. The following are the best ways to get assistance working through your issue:

  • Issue Tracker for questions, featurerequests, bug reports and general discussion related to this package.
  • Email us in Slack developer support: developers@slack.com
  • Bot Developers Hangout: a Slack community for developersbuilding all types of bots. You can find the maintainers and users of this package in #sdk-node-slack-sdk.