Skip to content
Reference/Webhooks/Get Webhook

Get Webhook

GEThttps://public.leadpattern.com/v2/webhook/:webhookId
Plan: webhooksapplication/json60 req/min

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 field
Authorizationstring
required
Your API key. Sent raw (e.g. 'lp_...'). No Bearer prefix required.

Path Parameters

1 field
webhookIdstring
required
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)"
}