slack.com

One way to interact with the Slack platform is its HTTP RPC-based Web API, a collection of methods requiring OAuth 2.0-based user, bot, or workspace tokens blessed with related OAuth scopes.

🔑 oauth2 174 endpoints collaborationmessaging
📄 Docs 📋 OpenAPI spec 🔬 Try in Swagger UI

SDKs by language (3 total)

pip install python-slack-sdk
npm install node-slack-sdk
# Maven: see https://github.com/slackapi/java-slack-sdk
curl examples
Checks API calling code.
curl \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  https://slack.com/api/api.test
Retrieves a user's current Do Not Disturb status.
curl \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  https://slack.com/api/dnd.info
Checks authentication & identity.
curl \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  https://slack.com/api/auth.test
Endpoints (174 total)
GET
/api.test
Checks API calling code.
GET
/dnd.info
Retrieves a user's current Do Not Disturb status.
GET
/auth.test
Checks authentication & identity.
GET
/bots.info
Gets information about a bot user.
GET
/pins.list
Lists items pinned to a channel.
GET
/team.info
Gets information about the current team.
GET
/calls.info
Returns information about a Call.
GET
/emoji.list
Lists custom emoji for a team.
GET
/files.info
Gets information about a file.
GET
/files.list
List for a team, in a channel, or from a user with applied filters.
GET
/stars.list
Lists stars for a user.
GET
/users.info
Gets information about a user.
At a glance
Total SDKs3
Languages3
Endpoints174
Authoauth2
Categories2
https://slack.com/api
Other Slack APIs (1)
openai