Home / Formulas / Slack

Slack

slack

Authenticate with Slack using OAuth authorization code flow. Access workspaces, channels, and messages.

🔐 Authentication Methods

oauth
OAuth
authorize: https://slack.com/oauth/v2/authorize
token: https://slack.com/api/oauth.v2.access
Scope: channels:read,channels:history,chat:write,users:read
  • Create a new app or select existing one
  • Go to OAuth & Permissions
  • Add required scopes
  • Install app to workspace
  • Copy the Bot User OAuth Token

👤 Identity

Workspace: The workspace domain (e.g., mycompany)

🌐 APIs

rest
Base URL: https://slack.com/api
Auth Header: Authorization: Bearer {token}
Spec Type: openapi
Methods: oauth

📦 Public Clients

These clients are bundled with the formula. Schlussel auto-selects the first available public client and its supported method. Just run the command below.

slack-cli
Client ID: YOUR_CLIENT_ID
Methods: oauth
$ schlussel run slack
← Back to all formulas