Request body
{
"name": "audit-sync",
"url": "https://example.com/hooks/license",
"events": ["license.generated", "license.revoked"],
"enabled": true
}API Endpoint
Create a webhook endpoint configuration for selected event types.
POST /management/webhooks
Use these endpoints from internal tooling or your frontend backend to inspect licenses, manage slug policy templates, provisioning API keys, webhook endpoint configuration/logs, and offline JWT signing keys. Management routes require the management bootstrap key configured via MANAGEMENT_API_KEYS or MANAGEMENT_API_KEY.
curl -sS http://localhost:8080/management/webhooks \
-H "Authorization: Bearer management_key_dev_123456" \
-H "Content-Type: application/json" \
-d '{
"name": "audit-sync",
"url": "https://example.com/hooks/license",
"events": ["license.generated", "license.revoked"],
"enabled": true
}'{
"name": "audit-sync",
"url": "https://example.com/hooks/license",
"events": ["license.generated", "license.revoked"],
"enabled": true
}{
"id": 1,
"name": "audit-sync",
"url": "https://example.com/hooks/license",
"events": ["license.generated", "license.revoked"],
"enabled": true,
"created_at": "2026-04-21T12:00:00Z",
"updated_at": "2026-04-21T12:00:00Z"
}id
number
Webhook endpoint id.
name
string
Operator-friendly endpoint name.
url
string
Destination URL for outbound events.
events
array<string>
Subscribed event list.
enabled
boolean
Whether endpoint receives events.
created_at
string
RFC3339 creation timestamp.
updated_at
string
RFC3339 last update timestamp.
Invalid JSON, invalid URL, or unsupported event values.
Missing or invalid management API key.
Unexpected server or storage error.