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

# Test a Webhook

> Send a signed synthetic lifecycle event from Tensorlake Cloud to validate a webhook destination.

Test a destination before relying on it for production lifecycle events.

## Send a test event

<Steps>
  <Step title="Open the destination">
    In [Tensorlake Cloud](https://cloud.tensorlake.ai), select your project,
    select **Webhooks**, then open the destination you want to test.
  </Step>

  <Step title="Select an event">
    Under **Test delivery**, select one of the event types subscribed by this
    destination.
  </Step>

  <Step title="Send the event">
    Select **Test webhook**. Tensorlake sends a signed synthetic payload to the
    configured endpoint.
  </Step>

  <Step title="Confirm your receiver">
    Verify that your endpoint validates the signature, records the `event_id`,
    parses the expected [event shape](./events), and returns a
    `2xx` response.
  </Step>
</Steps>

A test delivery uses a valid example payload and the destination's normal Svix
signing and endpoint-delivery path. It does not create, update, suspend,
terminate, or delete a real Tensorlake resource.

## Troubleshooting

| Symptom                         | Check                                                                                                                |
| ------------------------------- | -------------------------------------------------------------------------------------------------------------------- |
| Signature verification fails    | Verify with the raw request body, all three Svix headers, and this destination's signing secret.                     |
| Endpoint returns `404`          | Confirm the complete URL path. Paths are case-sensitive.                                                             |
| Endpoint returns `403`          | Confirm the route accepts server-to-server `POST` requests and does not require browser session or CSRF credentials. |
| Event is delivered repeatedly   | Return `2xx` after durable acceptance and deduplicate by `event_id`.                                                 |
| An expected event never arrives | Confirm delivery is enabled and the event type is selected for this project-scoped destination.                      |
