API Alerts 2.0 is in final testing. This page describes the full 2.0 product. Today we deliver push notifications; Slack, SMS, WhatsApp, email, and webhooks roll out with 2.0. See what's coming →
Slack Alerts
Deliver event notifications as rich Block Kit messages to your Slack channels. Bold headers, formatted fields, and clickable buttons, not just plain text.
How it works
- Connect your Slack workspace via OAuth in the dashboard
- Add a Slack destination to a router
- Pick a Slack channel from the dropdown
- Customise the message layout with the Event Designer
- Events matching the router’s pattern post messages to that channel
One Slack connection can be used across multiple router destinations targeting different channels.
Block Kit messages
API Alerts sends structured Block Kit messages, not plain text. The Event Designer lets you configure:
- Header. Bold title block, e.g.
{{title}}. - Text. Message body, e.g.
{{message}}. - Fields. Two-column key/value pairs like Event, Tags, or custom data fields.
- Buttons. Clickable links, e.g. “Open Link” pointing to
{{link}}.
Each block is optional and removable. You can add custom fields and buttons. Blocks with empty values are automatically omitted.
Template variables
Use {{variable}} syntax to insert event data into any block. Access nested data with {{data.name}} or {{data.order.total}}. Set fallbacks with {{title|No title}}.
See the full list in the Template Variables reference.
Preview
The Event Designer includes a live preview that renders your template with real event data from your workspace. Select different recent events to see how your message will look.
Channel selection
After connecting your Slack workspace, you can select any public or private channel the bot has access to. The bot automatically joins the channel on the first message delivery.
Multiple destinations
A single Slack integration (one workspace connection) can be used in multiple router destinations. Route different event patterns to different Slack channels:
user.*events → #customersdeploy.*events → #engineeringpayment.*events → #revenue
Get started
- Open your workspace in the dashboard
- Go to Integrations and click “Add to Slack”
- Authorise API Alerts in your Slack workspace
- Add a Slack destination to a router and pick a channel
- Send a test event to see the Block Kit message in Slack