- Accueil
- Intégrations
- Webhooks
Automatisation
Webhooks Personnalisés
Webhooks provide the ultimate flexibility for integrating WizStatus with any system. Receive structured JSON payloads for all monitoring events, enabling custom integrations, automation workflows, and connections to tools we don't natively support. Build exactly what you need.
Avantages
- Integrate with any system that accepts HTTP requests
- Structured JSON payloads with all event data
- Trigger automation workflows (Zapier, n8n, Make)
- Build custom dashboards and alerting logic
- Complete control over notification handling
Guide de configuration
Suivez ces étapes pour configurer l'intégration
Prepare Your Endpoint
Set up an HTTP endpoint that can receive POST requests with JSON payloads. This could be a serverless function, API endpoint, or webhook handler.
// Example Node.js webhook handler
app.post('/wizstatus-webhook', (req, res) => {
const { event, monitor, timestamp } = req.body;
console.log(`Received ${event} for ${monitor.name}`);
// Handle the alert...
res.status(200).send('OK');
});Add Webhook in WizStatus
Go to Settings > Notifications, click "Add Integration", select Webhooks, and enter your endpoint URL.
Astuce
Use HTTPS endpoints for secure payload delivery.
Configure Secret (Optional)
Add a webhook secret to verify request authenticity. WizStatus will include a signature header you can validate.
// Verify webhook signature
const crypto = require('crypto');
const signature = req.headers['x-wizstatus-signature'];
const expectedSig = crypto
.createHmac('sha256', WEBHOOK_SECRET)
.update(JSON.stringify(req.body))
.digest('hex');
if (signature !== expectedSig) {
return res.status(401).send('Invalid signature');
}Test Your Webhook
Click "Send Test Event" to send a sample payload to your endpoint. Verify your handler processes it correctly.
Astuce
Use tools like RequestBin or webhook.site to inspect payloads during development.
Options de configuration
Paramètres de configuration disponibles
| Option | Description | Requis |
|---|---|---|
Webhook URL | The HTTPS endpoint to receive webhook events | |
Webhook Secret | Secret for HMAC signature verification | |
Events | Which events should trigger this webhook | |
Retry on Failure | Automatically retry failed webhook deliveries |
Fonctionnalités
Restrictions
- Endpoint must respond within 30 seconds
- Maximum 3 retry attempts on failure
- Payload size limited to 1MB
Questions fréquentes
Prêt à commencer ?
Commencez à surveiller vos services en quelques minutes
Commencer gratuitementAucune carte de crédit requise • 20 monitors gratuits pour toujours