curl -X GET "https://yoursite.com/api/webhooks/123" \
-H "authtoken: YOUR_API_TOKEN"
Success-Response:
HTTP/1.1 200 OK
{
"id": "3",
"name": "Order sync",
"url": "https://hooks.example.com/perfex",
"events": ["invoice_created", "invoice_paid"],
"active": "1",
"headers": { "X-Env": "prod" },
"timeout": "30",
"retry_count": "3",
"last_triggered": "2026-07-20 14:32:10",
"success_count": "128",
"failure_count": "2",
"date_created": "2026-02-14 09:12:44",
"date_updated": "2026-07-20 14:32:10",
"has_secret": true
}
Error-Response:
HTTP/1.1 404 Not Found
{
"status": false,
"message": "Webhook not found"
}