Slack Webhook Integration — API Outage Alerts for Your Team
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
- Go to Slack App Management
- Click Create New App → From scratch
- Name it "API Status Check"
- Select your workspace
- Go to Incoming Webhooks → Enable
- Click Add New Webhook to Workspace
- Select the channel for alerts
- 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
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:
- Set up our webhook to a dedicated channel
- Create a PagerDuty/OpsGenie integration for that channel
- 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.
🛠 Tools We Recommend
Uptime monitoring, incident management, and status pages — know before your users do.
Securely manage API keys, database credentials, and service tokens across your team.
Remove your personal data from 350+ data broker sites automatically.
Monitor your developer content performance and track API documentation rankings.
API Status Check
Stop checking API status pages manually
Get instant email alerts when OpenAI, Stripe, AWS, and 100+ APIs go down. Know before your users do.
Free dashboard available · 14-day trial on paid plans · Cancel anytime
Browse Free Dashboard →