> ## Documentation Index
> Fetch the complete documentation index at: https://docs.unleeshed.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Test Webhook

> Send a test event to verify webhook setup

Send a test event to your webhook endpoint to verify connectivity and signature verification.

## Path Parameters

<ParamField path="id" type="string" required>
  Webhook ID
</ParamField>

## Response

<ResponseField name="success" type="boolean">
  Whether the test delivery succeeded
</ResponseField>

<ResponseField name="test_event_id" type="string">
  ID of the test event
</ResponseField>

<ResponseField name="delivery_status" type="string">
  `delivered` or `failed`
</ResponseField>

<ResponseField name="response_code" type="number">
  HTTP response code from your endpoint
</ResponseField>

<ResponseField name="error" type="string">
  Error message if delivery failed
</ResponseField>

<RequestExample>
  ```bash theme={null}
  curl -X POST https://prod.api.unleeshed.ai/partner/v1/webhooks/whk_abc123/test \
    -H "X-Api-Key: your_api_key"
  ```
</RequestExample>

<ResponseExample>
  ```json theme={null}
  {
    "success": true,
    "test_event_id": "evt_test_abc123",
    "delivery_status": "delivered",
    "response_code": 200,
    "error": null
  }
  ```
</ResponseExample>
