= $maxWebhooks) { $error = 'Maximum number of webhooks (' . $maxWebhooks . ') reached.'; } else { $key = bin2hex(random_bytes(8)); $webhook = [ 'key' => $key, 'created' => date('c'), 'requests' => [] ]; $data['webhooks'][] = $webhook; file_put_contents($dataPath, json_encode($data, JSON_PRETTY_PRINT), LOCK_EX); header('Location: ' . $_SERVER['REQUEST_URI']); exit; } } // Load webhooks $raw = file_get_contents($dataPath); $data = json_decode($raw, true); $webhooks = $data['webhooks']; ?> Webhook Debug Tool

🔗 Webhook Debug Tool

How to use:
  1. Click "Create New Webhook" to generate a unique webhook URL
  2. Copy the webhook URL and configure it as the webhook endpoint in your service
  3. Send requests to the webhook URL - all data will be captured
  4. Click "View Requests" to see all captured requests with headers and body
(/ webhooks)
No webhooks created yet. Click "Create New Webhook" to get started.
Key Created Requests Webhook URL Actions
View Requests