Prerequisites
You need permission to add webhooks in Corelayer and a tool that can POST JSON to the webhook URL.Setup
1. Create a source
Open Webhooks and click Add Webhook. Set Webhook type to Custom Webhook, enter a Source name such asCheckout alerts, and click Create Webhook.
Copy the Webhook URL, Webhook token, and Example request. The token is shown once, so store it before clicking Done.
2. Configure your alert sender
Set your monitoring tool to POST the JSON alert payload to the webhook URL with these headers:3. Send an example alert
Run the examplecurl request from a machine that can reach the endpoint. Use the current timestamp when sending a new example.
This sends a real alert and can start an investigation. A 202 response means the request was accepted; read its status field to see whether it was queued, ignored as a duplicate, or skipped. For a queued alert, check Corelayer for the resulting investigation.
Alert payload
Send one alert per request. Use the alert’s actual timestamp fortime:
Required fields
Optional fields
Map your payload
If your tool supports a custom payload template, map its fields to this format. Setaction to trigger when the alert fires and resolve when it recovers. Use a stable fingerprint for repeated notifications of the same alert.
Omit optional fields that have no value. For example, severity: "" is invalid; omit severity to use info.
How alerts are handled
triggersends the alert for investigation.- Repeated triggers with the same fingerprint are accepted but ignored during the deduplication window.
resolveandacknowledgeare recorded but do not automatically close Corelayer issues.
Troubleshooting
The sender cannot reach the endpoint
Check the URL and network access from the system sending alerts. For a private deployment, test from that network rather than your laptop.The endpoint returns an error
No investigation starts
Read the response’sstatus. A duplicate trigger is ignored, and resolution or acknowledgement events are only recorded. If it reports skipped_onboarding, complete your organization’s onboarding and send a new alert.
Need help? Contact support.