Slack
Send notifications to Slack channels via incoming webhooks.
URL format
| Segment | Required | Description |
|---|---|---|
token_a | Yes | First path segment from the Slack webhook URL (e.g. T00000000) |
token_b | Yes | Second path segment (e.g. B00000000) |
token_c | Yes | Third path segment — treat as a secret |
channel | No | Override the default channel (e.g. #alerts) |
Example
Finding your credentials
- Go to api.slack.com/apps and open or create your Slack app.
- Click Incoming Webhooks and enable it.
- Click Add New Webhook to Workspace and pick a channel.
- Copy the webhook URL — it looks like:
-
The three path segments after
/services/map directly totoken_a,token_b,token_c.
Smart paste
Quirks & limitations
- The webhook is bound to the channel chosen at creation time unless you override with a channel segment.
token_cis sensitive — store it in an environment variable, not source code.