Skip to main content
idapt
HomeAI ModelsExploreResourcesPricing
Sign inUse for Free
All integrations

Slack

Post messages, read channels and search history in Slack.

Communication
Connect SlackSlack docs

How an agent reaches it

MCPREST APICLI

How you authenticate

API key
OAuth
Get an API key
  1. Create a Slack app at api.slack.com/apps for your own workspace.
  2. Under OAuth and Permissions, add the bot scopes you need (chat:write, channels:read, channels:history).
  3. Install the app to the workspace and copy the Bot User OAuth Token (starts with xoxb-).
  4. Invite the bot to any private channel you want it to read. Slack returns not_in_channel otherwise.

Connection details

Base URL
https://slack.com/api
Pagination
cursor
Rate limit
Tiered per method, roughly 1 to 100 per minute. 429 carries Retry-After.

Common endpoints

verify the tokenPOST /auth.test
post a messagePOST /chat.postMessage
list channelsGET /conversations.list?types=public_channel
read channel historyGET /conversations.history?channel=C123
search messagesGET /search.messages?query={q}

Worth knowing

  • Slack answers 200 with {ok:false, error:"..."} on failure. A 200 is NOT success; always read `ok`.
  • Posting to a private channel needs the bot invited to it, otherwise error is not_in_channel.
  • chat.postMessage takes application/json; several older methods only accept form encoding.
  • Channel IDs (C…) are stable; names are not, and renaming breaks anything that stored a name.
  • Home
  • Pricing
  • AI Models
  • Skills
  • Image models
  • Voice models
  • Video models
  • Rankings
  • Multi-Model Chat
  • Agents
  • Computers
  • Drive
  • Automations
  • AI Gateway
  • All features →
  • Blog
  • About
  • Comparisons
  • Benchmarks
  • Model Match
  • Demos
  • Help center
  • FAQ
  • Privacy
  • Support
  • Developers
  • Quickstarts
  • API reference
  • API pricing
  • CLI
  • MCP
  • Migrate
  • Downloads
  • Desktop
© idapt[email protected]TermsPrivacy PolicyLegal noticeReport content
X (Twitter)Discord