Slack API
APIWeb 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
- Create a Slack app and add the chat:write scope
- Install the app to your workspace
- 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