<h1>Webhook Integration</h1>

<p>Setup webhooks to receive real-time notifications about license events:</p>

<h2>Supported Events</h2>
<ul>
    <li><code>license.created</code> - New license created</li>
    <li><code>license.activated</code> - License activated</li>
    <li><code>license.expired</code> - License expired</li>
    <li><code>license.suspended</code> - License suspended</li>
</ul>

<h2>Webhook URL Setup</h2>
<ol>
    <li>Navigate to Settings → Webhooks</li>
    <li>Add your webhook URL</li>
    <li>Select events to subscribe to</li>
    <li>Test the webhook</li>
</ol>

<h2>Webhook Payload</h2>
<pre><code>{
    "event": "license.activated",
    "data": {
        "license_id": 123,
        "license_key": "XXXX-XXXX-XXXX-XXXX",
        "product_name": "Ultimate License Management System",
        "customer_email": "customer@example.com"
    },
    "timestamp": "2025-09-23T10:30:00Z"
}</code></pre>