Use this file to discover all available pages before exploring further.
Kener can post alert notifications to Slack, Discord, and arbitrary HTTP endpoints. All three use the same delivery mechanism — an HTTP POST to a URL — but each has its own default payload format.
The color field uses Discord’s integer color format: 15158332 (red) for TRIGGERED and 3066993 (green) for RESOLVED.You can replace this with your own JSON in the Custom Discord Payload field.
A webhook trigger sends an HTTP POST to any URL with a JSON body. Use this for PagerDuty, Opsgenie, custom scripts, or any service that accepts webhooks.
1
Prepare your endpoint
Your endpoint must accept HTTP POST requests with Content-Type: application/json. It should return a 2xx status code on success.
2
Create a webhook trigger in Kener
In the admin dashboard, go to Triggers → New Trigger.
Set Trigger Type to webhook.
Enter the destination URL.
Give the trigger a Name and click Create Trigger.
3
Add authentication headers (optional)
Under Headers, click Add Header for each header your endpoint requires. Common examples:
Key
Value
Authorization
Bearer your-token
X-API-Key
your-api-key
X-Custom-Header
value
To keep secrets out of the database, reference environment variables:
Authorization: Bearer {{ENV_WEBHOOK_TOKEN}}
Kener resolves {{ENV_...}} patterns against process.env at send time.
4
Customise the payload (optional)
The default JSON payload (see below) covers all alert fields. You can replace it with your own Mustache template in the Custom Webhook Body field.
5
Test the trigger
After saving, click Test Trigger to POST a sample payload to your endpoint.
Check that the alert config is Active (the toggle on the alerts list). Also confirm that the monitor has reached the failure_threshold number of consecutive failures — Kener does not send a notification on the first failure if the threshold is greater than 1.
Slack returns 400 or 'invalid_payload'
The payload is not valid Block Kit JSON. Check that your custom template is valid JSON and that Mustache conditionals don’t break the structure. Test with the default template first to confirm the webhook URL is correct.
Discord returns 401 Unauthorized
The webhook URL is invalid or has been deleted. Go back to Discord server settings, regenerate the webhook, and update the trigger URL.
Webhook endpoint returns non-2xx
Kener logs the response status and body to the console when delivery fails. Check your server logs. Common causes: missing authentication header, wrong content type expected by the endpoint, or payload schema mismatch.