Slack API

API

Web API, events and bot tools for building Slack apps

Fiyat
Free tier, then paid
Erişim
Bot token (OAuth)

Hakkında

The Slack API lets apps post messages, react to workspace events and slash commands, and run bots inside Slack. It is for teams building alerts, internal tools and chat bots. An app must be installed to a workspace, and it only gets the scopes an admin approves.

Neler yapabilirsin

  • Post messages and alerts to Slack channels from your app
  • Build bots that answer mentions, messages and slash commands
  • Receive workspace events such as new messages and reactions

Başlarken

  1. Create a Slack app and add the chat:write scope
  2. Install the app to your workspace
  3. Copy the bot token (xoxb-...)

Örnek kod

curl -X POST https://slack.com/api/chat.postMessage \
  -H "Authorization: Bearer $SLACK_BOT_TOKEN" \
  -H "Content-type: application/json" \
  -d '{"channel":"C123ABC456","text":"Hello, world."}'

Ayrıntılar

Barındırma
Hazır hizmet (bulut)
Kullanılabildiği yerler
Tüm dünya
Resmi SDK'lar
JavaScript/TypeScript, Python, Java
MCP sunucusu
Uzak sunucu
Entegrasyonlar
Slack

Görevler

Alternatifler

Aynı görevler için başka araçlar.

Son kontrol: .