Skip to content
Reference/Webhooks/Send Test Webhook

Send Test Webhook

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

Queues a sample payload (event: "test") for delivery to this webhook using its saved URL, headers, authorization and secret, bypassing event-subscription matching. The response's data.eventId is the test event's id (also sent as X-Webhook-Id) — find its attempts in the delivery logs. The webhook must be active, and tests are limited to one per webhook every 10 seconds.

  • The request body is ignored — a sample payload with event "test" is delivered using the saved URL, headers, authorization and secret.

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",
  "message": "Test webhook queued for delivery. Check delivery logs for the result.",
  "data": {
    "eventId": "9b2e4d1a-6c3f-4f7e-8a10-2d5b7c9e0f31"
  }
}

Sample Request Body

{
  "webhookId": "664abc123def456789012345 (path parameter)"
}