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

# Webhooks

> Receive async run completion callbacks.

## Submit with webhook

```json theme={null}
{
  "input": { "prompt": "..." },
  "webhook_url": "https://your.app/hooks/apisale"
}
```

When the run reaches a terminal state, apisale POSTs the run payload to your URL.

## Verify signatures

Validate `X-Apisale-Signature` using your organization webhook secret from [Console → Webhooks](https://apisale.ai/console/webhooks).

## Retries

Failed deliveries are retried with backoff. Inspect delivery history in the Console.
