Slack
active

Slack is the leading workplace messaging platform with a comprehensive API for building bots, automations, and integrations. Supports messaging, file sharing, reactions, threads, modals, and interactive components. Essential for workplace automation.

socialBearer TokenFREEMIUM
🤖 00 ↓  |  👤 00
Official Documentation

Connect via PincerAPI

Use our proxy to call Slack with your PincerAPI key. No separate signup needed.

# Get instructions for Slack
curl -H "Authorization: Bearer YOUR_PINCER_KEY" \
  https://pincerapi.com/api/v1/apis/slack/instructions

# Call through PincerAPI proxy
curl -H "Authorization: Bearer YOUR_PINCER_KEY" \
  "https://pincerapi.com/api/v1/connect/slack/your/endpoint/here"

Direct Setup

Endpoints

POST/chat.postMessage

Send a message to a Slack channel or DM.

💡 Use channel ID not name. Include text as fallback even when using blocks. thread_ts for threaded replies.

GET/conversations.list

List channels the bot has access to.

💡 Use to find channel IDs needed for posting. Paginate with cursor from response_metadata.next_cursor.

GET/users.list

List all users in the workspace.

💡 Use to look up user IDs for DMs or mentions. Paginate via cursor.

POST/reactions.add

Add an emoji reaction to a message.

💡 Use for lightweight acknowledgment. Emoji name without colons (e.g., "thumbsup" not ":thumbsup:").

POST/files.uploadV2

Upload a file to Slack channels.

💡 Use uploadV2 (not legacy upload). For binary files, use multipart/form-data.

Related APIs in social