Webhooks
Create Webhooks
1
2
3
Fill in the form
Payload URL: This is the URL WGDashboard will post to; it can be HTTP or HTTPS.
Content Type: Choose how you want to receive data: JSON format, or URL-encoded format.
Verify SSL: Applies only if your Payload URL is HTTPS — we strongly recommend keeping this on so we can make sure your data is not sent to bad people 😉
Custom Headers: If your Payload URL requires extra headers (for example API Keys or a Bearer token), add them here.
Subscribed Actions: Choose which event(s) you want to subscribe to. More actions may be added in the future.
Enable Webhook: Choose whether to enable it after saving.
Payload Example
json
{
"configuration": "Aa1",
"peers": [
"D2F7tP1sXbhT7ye2tl4aDoBk+tpiOZAvU4Jw8Jt3W0g="
],
"action": "peer_created",
"time": "2025-09-03 17:10:51",
"webhook_id": "b1d5a1b1-b2e5-430d-a366-076a50300cdc",
"webhook_session": "2d6d536d-2e7a-4382-9c20-339c68148cdc"
}Webhook payloads will only expose public information; keys in $.peers are their public key.