Error: Missing key parameter'); } $key = $_GET['key']; // Load webhooks $raw = file_get_contents($dataPath); $data = json_decode($raw, true); // Find the webhook $webhook = null; foreach ($data['webhooks'] as $w) { if ($w['key'] === $key) { $webhook = $w; break; } } if ($webhook === null) { http_response_code(404); die('

Error: Webhook not found

'); } // Reverse requests to show newest first $requests = array_reverse($webhook['requests']); // Helper function to format JSON function formatJson($string) { $decoded = json_decode($string, true); if (json_last_error() === JSON_ERROR_NONE) { return json_encode($decoded, JSON_PRETTY_PRINT | JSON_UNESCAPED_SLASHES); } return $string; } // Helper function to format headers function formatHeaders($headers) { $output = ''; foreach ($headers as $name => $value) { $output .= htmlspecialchars($name) . ': ' . htmlspecialchars($value) . "\n"; } return rtrim($output); } ?> Webhook: <?= htmlspecialchars($webhook['key']) ?> ← Back to Webhooks

🔗 Webhook Details

Key:
Created:
Webhook URL:
Total Requests:

Received Requests

No requests received yet. Send a POST request to the webhook URL above.
$request): ?>
Request #
Headers
Body