Get Webhook by ID

GET/api/webhooks/{id}

Returns one webhook. The signing secret is never returned here - it is shown once, when the webhook is created or when its secret is rotated.

Headers

FieldTypeDescription
authtoken String Authentication token, generated from admin area

Parameters

FieldTypeDescription
id Number Webhook unique ID
curl -X GET "https://yoursite.com/api/webhooks/123" \
  -H "authtoken: YOUR_API_TOKEN"

Success-Response:

HTTP/1.1 200 OK
{
  "id": 3,
  "name": "Ops sync",
  "url": "https://hooks.example.com/rise",
  "events": ["invoices.created", "tickets.*"],
  "headers": { "X-Env": "production" },
  "active": 1,
  "timeout": 10,
  "retry_count": 1,
  "last_triggered": "2026-07-22 14:32:10",
  "success_count": 128,
  "failure_count": 2,
  "created_by": 1,
  "created_at": "2026-07-01 09:12:44",
  "updated_at": "2026-07-22 14:32:10",
  "has_secret": true,
  "signature_header": "X-Rise-Signature"
}

Error-Response:

HTTP/1.1 404 Not Found
{ "status": false, "messages": { "error": "No data were found" } }
MethodGET
Path/api/webhooks/{id}
GroupWebhooks
Sincev1.0.0
Defined inRestApi/Controllers/WebhooksController.php