Custom Webhooks
Configure webhooks for custom integrations.
Webhook Configuration
Send events to any HTTP endpoint.
webhooks:
- name: custom-integration
url: https://api.yourservice.com/webhook
method: POST
events:
- equipment.*
- alarm.*
headers:
Authorization: Bearer your-token
Content-Type: application/json
retry:
max_attempts: 3
backoff: exponentialPayload Format
{
"event": "equipment.connected",
"timestamp": "2025-12-07T10:30:00Z",
"data": {
"equipment_id": "eq_123",
"name": "AMAT-P5000"
},
"signature": "sha256=..."
}Verifying Signatures
const crypto = require("crypto");
function verifySignature(payload, signature, secret) {
const expected = crypto
.createHmac("sha256", secret)
.update(payload)
.digest("hex");
return `sha256=${expected}` === signature;
}