Get Webhook
GEThttps://public.leadpattern.com/v2/webhook/:webhookId
Retrieve one webhook, including its delivery health (isActive, disabledReason, failureCount, lastFailureAt). Header values and credentials are masked; the signing secret is never returned (hasSecret tells you one is set).
Headers
1 fieldAuthorizationstringrequired
Your API key. Sent raw (e.g. 'lp_...'). No Bearer prefix required.
Path Parameters
1 fieldwebhookIdstringrequired
Webhook ID.
Responses
JSON Response
{
"type": "success",
"data": {
"id": "664abc123def456789012345",
"name": "My Webhook",
"url": "https://example.com/hook",
"events": [
"message_received",
"conversation_closed"
],
"isActive": false,
"disabledReason": "failing",
"failureCount": 50,
"lastFailureAt": "2026-07-01T10:30:00.000Z",
"hasSecret": true,
"insecure": false,
"headers": {
"X-Source": "••••••"
},
"authorization": {
"type": "BEARER",
"configured": true
},
"createdAt": "2026-06-01T09:00:00.000Z",
"updatedAt": "2026-07-01T10:30:00.000Z"
}
}Sample Request
{
"webhookId": "664abc123def456789012345 (path parameter)"
}
