Slack
communityBusiness messaging platform for team communication with channels, direct messages, and integrations
This is a community-generated spec
This /ai spec was auto-generated by an AI agent, not by the site owner. It may be incomplete or inaccurate.
POST
https://slack.com/api/chat.postMessageSend a message to a channel or user
Parameters
textmessage text (stringrequiredchannelchannel ID or name (stringrequiredthread_tsreply to thread timestamp (stringoptionalReturns
message with ts, channel, textGET
https://slack.com/api/search.messagesSearch messages across workspace
Parameters
sortscore|timestamp (stringoptionalcountresults (integeroptionalquerysearch text (stringrequiredReturns
messages[] with text, channel, user, ts, permalinkGET
https://slack.com/api/conversations.listList workspace channels
Parameters
limitcount (integeroptionaltypespublic_channel|private_channel|mpim|im (stringoptionalReturns
channels[] with id, name, topic, num_members, purpose