Integration

Slack Integration

Real-time alerts where your team works

Slack Integration

Get instant alerts when your APIs go down or return unexpected responses. APIAssert's Slack integration delivers actionable notifications directly to your team channels.

Why Slack?

Your team already lives in Slack. When an API fails, you need to know immediately — not when someone checks their email. APIAssert sends rich, actionable alerts to any Slack channel.

What You'll Get

  • Instant notifications when monitors fail or recover
  • Rich message formatting with status, response time, and error details
  • Threaded updates to keep your channels clean
  • Custom routing — send different monitors to different channels

Setup Guide

Step 1: Add a Slack Channel

  1. Go to AlertsChannels in your APIAssert dashboard
  2. Click Add Channel
  3. Select Slack from the list

Step 2: Authorize APIAssert

Click "Connect to Slack" and authorize APIAssert to post messages. You'll be asked to:

  • Select your Slack workspace
  • Choose a channel for notifications
  • Approve the required permissions

Step 3: Configure Your Channel

After authorization, configure your preferences:

Channel: #api-alerts
Alert on: Failures, Recoveries
Include: Response time, Error message, Region

Step 4: Assign to Monitors

Edit any monitor and add your Slack channel under Alert Channels. You can assign multiple channels per monitor.

Alert Format

When a monitor fails, you'll receive a message like this:

🔴 Monitor Failed: Production API
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Status: 500 Internal Server Error
Response Time: 2,340ms
Region: US East
Checked: 2 minutes ago

Assertion Failed:
$.status expected "success", got "error"

[View Details] [Acknowledge]

Best Practices

Create Dedicated Channels

Don't flood your main channels. Create dedicated alert channels:

  • #api-alerts — All API failures
  • #api-critical — Production-only, high-priority
  • #api-logs — Verbose logging for debugging

Use Channel Routing

Route alerts based on severity:

Monitor Type Channel
Production APIs #api-critical
Staging APIs #api-staging
Third-party APIs #vendor-status

Enable Recovery Alerts

Know when issues are resolved. Enable recovery notifications to see when monitors return to healthy status.

Troubleshooting

Not receiving alerts?

  • Check that APIAssert is still authorized in your Slack workspace
  • Verify the channel still exists and APIAssert is a member
  • Ensure your monitor has the Slack channel assigned

Too many alerts?

  • Increase your check interval to reduce noise
  • Use alert cooldowns to prevent duplicate notifications
  • Consider separate channels for different severity levels

Next Steps