Slack

Send messages, react, pin items, and manage Slack channels and DMs. Use when this capability is needed.

tomevault-io Updated

File contents

Slack

Control Slack from openrappter.

Send a Message

curl -s -X POST "https://slack.com/api/chat.postMessage" \
  -H "Authorization: Bearer $SLACK_BOT_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"channel": "C0123456", "text": "Hello from openrappter!"}'

React to a Message

curl -s -X POST "https://slack.com/api/reactions.add" \
  -H "Authorization: Bearer $SLACK_BOT_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"channel": "C0123456", "name": "thumbsup", "timestamp": "1234567890.123456"}'

List Channels

curl -s "https://slack.com/api/conversations.list" \
  -H "Authorization: Bearer $SLACK_BOT_TOKEN" | jq '.channels[] | {name, id}'

Pin a Message

curl -s -X POST "https://slack.com/api/pins.add" \
  -H "Authorization: Bearer $SLACK_BOT_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"channel": "C0123456", "timestamp": "1234567890.123456"}'

Converted and distributed by TomeVault — claim your Tome and manage your conversions.

tomevault-io/skills-registry/tree/main/kody-w--openrappter--slack commit 2ba7b8381d

Frequently asked questions

npx skillmds@latest add tomevault-io/slack-5