Slack Webhook Integration — API Outage Alerts for Your Team

by API Status Check

TLDR: Set up Slack webhook alerts for API outages in under 5 minutes. This guide walks through registering your Slack webhook URL with API Status Check to get real-time outage notifications in any channel.

Slack Webhook Integration

Get real-time API outage alerts directly in your team's Slack workspace.

Quick Setup (2 minutes)

Step 1: Create a Slack Webhook

  1. Go to Slack App Management
  2. Click Create New AppFrom scratch
  3. Name it "API Status Check"
  4. Select your workspace
  5. Go to Incoming Webhooks → Enable
  6. Click Add New Webhook to Workspace
  7. Select the channel for alerts
  8. Copy the webhook URL

Step 2: Register Your Webhook

curl -X POST https://apistatuscheck.com/api/webhook/slack \
  -H "Content-Type: application/json" \
  -d '{
    "webhookUrl": "YOUR_SLACK_WEBHOOK_URL",
    "apis": ["openai", "stripe", "github", "aws"]
  }'

Or monitor all APIs:

curl -X POST https://apistatuscheck.com/api/webhook/slack \
  -H "Content-Type: application/json" \
  -d '{
    "webhookUrl": "YOUR_SLACK_WEBHOOK_URL",
    "apis": ["*"]
  }'

Step 3: Done!

You'll receive a test message in Slack. From now on, your team gets alerts like:

🚨 OpenAI is DOWN Check status: apistatuscheck.com/api/openai Today at 3:42 PM

Best Practices for Teams

Dedicated Channel

Create a #api-outages channel to keep alerts organized and not spam your main channels.

Critical APIs Only

Don't monitor everything. Pick the APIs that would actually impact your work:

{
  "webhookUrl": "...",
  "apis": ["openai", "stripe", "supabase", "vercel"]
}

Combine with Runbooks

When an alert fires, your team should know what to do. Create runbook docs for each critical dependency.

Available APIs

70+ APIs available for monitoring:

AI: openai, anthropic, midjourney, huggingface, cursor

Cloud: aws, azure, gcp, vercel, netlify, cloudflare

Payments: stripe, paypal, plaid, square

Communication: discord, slack, twilio, sendgrid

Databases: supabase, firebase, planetscale, neon, mongodb

View all APIs →

Alert Format

Alerts come with rich formatting:

┌─────────────────────────────────────┐
│ 🚨 OpenAI is DOWN                   │
│                                     │
│ Check status:                       │
│ apistatuscheck.com/api/openai       │
│                                     │
│ Today at 3:42 PM • API Status Check │
└─────────────────────────────────────┘
Alert Type Emoji Color
Outage 🚨 Red
Degraded ⚠️ Orange
Recovered Green

Integration with PagerDuty/OpsGenie

For critical production dependencies, you can chain our Slack alerts to your incident management:

  1. Set up our webhook to a dedicated channel
  2. Create a PagerDuty/OpsGenie integration for that channel
  3. Configure escalation rules

Self-Hosted Option

Run your own alert dispatcher:

async function sendSlackAlert(webhookUrl, apiName, status) {
  const emojis = { outage: '🚨', degraded: '⚠️', recovered: '✅' };
  
  await fetch(webhookUrl, {
    method: 'POST',
    headers: { 'Content-Type': 'application/json' },
    body: JSON.stringify({
      text: `${emojis[status]} ${apiName} is ${status === 'recovered' ? 'back online' : 'experiencing issues'}`
    })
  });
}

Need Help?


Have a feature request? Open an issue on GitHub.

Monitor Your APIs

Check the real-time status of 100+ popular APIs used by developers.

View API Status →