Discord Webhook Integration — Get Outage Alerts in Your Server
TLDR: Set up real-time API outage alerts in Discord in 2 minutes. Create a webhook in Server Settings → Integrations, copy the URL, and configure it at API Status Check to get instant notifications when OpenAI, Stripe, AWS, or any other API goes down.
Discord Webhook Integration
Get real-time API outage alerts directly in your Discord server.
Quick Setup (2 minutes)
Step 1: Create a Discord Webhook
- Open your Discord server
- Go to Server Settings → Integrations → Webhooks
- Click New Webhook
- Name it "API Status Check" (or whatever you prefer)
- Select the channel for alerts
- Copy the webhook URL
Step 2: Register Your Webhook
curl -X POST https://apistatuscheck.com/api/webhook/discord \
-H "Content-Type: application/json" \
-d '{
"webhookUrl": "YOUR_DISCORD_WEBHOOK_URL",
"apis": ["openai", "stripe", "github"]
}'
Or monitor all APIs:
curl -X POST https://apistatuscheck.com/api/webhook/discord \
-H "Content-Type: application/json" \
-d '{
"webhookUrl": "YOUR_DISCORD_WEBHOOK_URL",
"apis": ["*"]
}'
Step 3: Done!
You'll receive a test message in your Discord channel. From now on, you'll get alerts like:
🚨 OpenAI is DOWN Check status: apistatuscheck.com/api/openai
Available APIs
You can monitor any of our 70+ APIs:
AI: openai, anthropic, midjourney, huggingface, perplexity
Cloud: aws, azure, gcp, vercel, netlify, cloudflare
Payments: stripe, paypal, plaid, square
Communication: discord, slack, twilio, sendgrid
Developer Tools: github, supabase, firebase, planetscale
Alert Types
| Alert | Color | Example |
|---|---|---|
| 🚨 Outage | Red | "OpenAI is DOWN" |
| ⚠️ Degraded | Orange | "OpenAI is experiencing issues" |
| ✅ Recovered | Green | "OpenAI is back online" |
Example Integration
Here's how it looks in Discord:
┌─────────────────────────────────────┐
│ 🚨 OpenAI is DOWN │
│ │
│ Check status: │
│ apistatuscheck.com/api/openai │
│ │
│ apistatuscheck.com • Today at 3:42 PM│
└─────────────────────────────────────┘
Self-Hosted Option
If you want to run your own alert dispatcher:
// Node.js example
const WEBHOOK_URL = 'your-discord-webhook-url';
async function sendAlert(apiName, status) {
const colors = {
outage: 0xef4444,
degraded: 0xf97316,
recovered: 0x22c55e,
};
await fetch(WEBHOOK_URL, {
method: 'POST',
headers: { 'Content-Type': 'application/json' },
body: JSON.stringify({
embeds: [{
title: `${status === 'outage' ? '🚨' : '✅'} ${apiName}`,
color: colors[status],
timestamp: new Date().toISOString()
}]
})
});
}
Need Help?
Questions? Open an issue on GitHub.
Monitor Your APIs
Check the real-time status of 100+ popular APIs used by developers.
View API Status →