# Autosana webhooks

Autosana webhooks are HTTP POST requests that Autosana sends to your HTTPS endpoint when a batch of flow runs, its end-to-end tests, completes.

Agent skill: `npx skills add hookdeck/webhook-skills --skill autosana-webhooks` ([details](https://hookdeck.com/webhooks/autosana/skill))

> Independent reference generated from hookdeck/webhook-registry (commit ff7f882, 20 Nov 2026). [Autosana's official docs](https://docs.autosana.ai/webhooks#verifying-signatures).

[Overview](https://hookdeck.com/webhooks/autosana) · [Webhook events (1)](https://hookdeck.com/webhooks/autosana/events) · [MCP events](https://hookdeck.com/webhooks/autosana/mcp-events) · [Verify signatures](https://hookdeck.com/webhooks/autosana/verify) · [Production guide](https://hookdeck.com/webhooks/autosana/guide-duplicates-retries-timeouts) · [Agent skill](https://hookdeck.com/webhooks/autosana/skill)

## Key facts

| Fact | Value | Source |
|---|---|---|
| Signature header | `X-Autosana-Signature-256` Not every delivery is signed: check your setup. | [Autosana docs](https://docs.autosana.ai/webhooks#verifying-signatures) |
| Scheme | `HMAC-SHA256, hex` | [Autosana docs](https://docs.autosana.ai/webhooks#verifying-signatures) |
| Signed material | `{raw body}` The request body as sent, with no timestamp or other prefix. | [Autosana docs](https://docs.autosana.ai/webhooks#verifying-signatures) |
| How events are identified | `event field in the body` | [Autosana docs](https://docs.autosana.ai/webhooks#payload-example) |
| Body format | `JSON` | [Autosana docs](https://docs.autosana.ai/webhooks) |
| Envelope | `event, timestamp, app, git, summary, run_groups` | [Autosana docs](https://docs.autosana.ai/webhooks#verifying-signatures) |
| Agent skill | `npx skills add hookdeck/webhook-skills --skill autosana-webhooks` | [Agent skill →](https://hookdeck.com/webhooks/autosana/skill) |

[Verify Autosana webhooks](https://hookdeck.com/webhooks/autosana/verify)

## How Autosana webhooks work

Webhooks push test results to your CI pipeline, dashboard or chat when a batch finishes, so you don't have to poll Autosana's Run Status API every 10 to 15 seconds. There is one notification, `batch.completed`, and the setup steps have no event selection, so there's nothing to subscribe to beyond adding the webhook.

The JSON body's `event` field holds the name. `summary` counts run groups by result, and each entry in `run_groups` has its own `status`, a link to the results and its `runs`. `app` identifies the build, and `git` holds the commit and branch only when the build has git metadata. Autosana's docs show no version header or field.

## Setting up Autosana webhooks

- Go to Settings > Integrations > Webhooks, click Add Webhook and enter your HTTPS URL. Add a signing secret at the same step: it's optional, but a webhook without one isn't signed.
- Send a test delivery with the webhook's Test button. To test locally, forward deliveries with the [Hookdeck CLI](/docs/cli): `hookdeck listen 3000 autosana --path /webhooks/autosana`.
- If your endpoint sits behind a firewall, allowlist the `flow_runners.virtual_runners.web_browsers` IPs from `GET /api/v1/network/allowlist`. Real deliveries come from those IPs for every platform. The Test button sends from Autosana's API, which isn't on that list, so a blocked test doesn't mean real deliveries are blocked.
- Autosana's docs describe no way to resend a delivery. For a batch you started with the API, `GET /api/v1/runs/status` returns its result if you kept the `batch_id`.

## Delivery behaviour

- **Timeout:** not documented. Autosana states no response limit or success code. [Guide](https://hookdeck.com/webhooks/autosana/guide-duplicates-retries-timeouts#timeouts)
- **Retries:** not documented. no retry policy or schedule is published. [Guide](https://hookdeck.com/webhooks/autosana/guide-duplicates-retries-timeouts#retries)
- **Resending:** not documented. no manual resend is described in Autosana's docs. [Guide](https://hookdeck.com/webhooks/autosana/guide-duplicates-retries-timeouts#retries)
- **Duplicates:** no delivery ID. the body has no event or delivery ID to key on. [Guide](https://hookdeck.com/webhooks/autosana/guide-duplicates-retries-timeouts#duplicates)

## Known failure modes

1. **A result can be lost during an outage.** Autosana documents no retries, so don't count on a failed delivery being sent again. Give anything that waits on a result a deadline, then check the Run Status API or the run page. [Plan for a missing result](https://hookdeck.com/webhooks/autosana/guide-duplicates-retries-timeouts#retries)
2. **A webhook without a secret is unsigned.** The signing secret is optional, and without one anyone who finds your URL can post a fake all-passed result. Set a secret and reject requests with no `X-Autosana-Signature-256` header. [Require a signature](https://hookdeck.com/webhooks/autosana/guide-duplicates-retries-timeouts#other-limits)
3. **Zero failed groups may not mean a clean batch.** Autosana's webhook example counts only passed and failed groups, while its Run Status API also lists `error` and `terminated` group statuses. Treat a batch as passed only when `summary.passed_groups` equals `summary.total_groups`. [Read the summary safely](https://hookdeck.com/webhooks/autosana/guide-duplicates-retries-timeouts#other-limits)
4. **A firewall starts blocking results.** Autosana's runner IPs can change without notice. If results stop arriving at a firewalled endpoint, pull `GET /api/v1/network/allowlist` and compare it with your rules. [Keep the allowlist current](https://hookdeck.com/webhooks/autosana/guide-duplicates-retries-timeouts#other-limits)

From [Hookdeck's Autosana guide](https://hookdeck.com/webhooks/autosana/guide-duplicates-retries-timeouts).

## Autosana webhook best practices

- **[Set a signing secret and require it](https://hookdeck.com/webhooks/autosana/verify).** Signing is off until you set one. Once it's on, reject a request with no signature header, because anyone who finds your URL can post a fake all-passed result.
- **[Respond before doing any work](https://hookdeck.com/webhooks/autosana/guide-duplicates-retries-timeouts#timeouts).** Autosana states no timeout or success code. Verify, store the result, return a 2xx, then update your pipeline or post to chat.
- **[Plan for a result that never arrives](https://hookdeck.com/webhooks/autosana/guide-duplicates-retries-timeouts#retries).** Autosana documents no retries. If a CI gate depends on a result, give it a deadline and check the Run Status API or the run page when the deadline passes.
- **[Deduplicate on run group URLs](https://hookdeck.com/webhooks/autosana/guide-duplicates-retries-timeouts#duplicates).** The body has no delivery ID and `git` isn't always there. Each `run_groups[].url` holds that group's own ID.
- **[Pass a batch only when every group passed](https://hookdeck.com/webhooks/autosana/guide-duplicates-retries-timeouts#other-limits).** Compare `summary.passed_groups` with `summary.total_groups` rather than checking `failed_groups`, because Autosana doesn't say how a group that ended in `error` or `terminated` is counted.
- **[Keep your allowlist current](https://hookdeck.com/webhooks/autosana/guide-duplicates-retries-timeouts#other-limits).** Autosana doesn't notify you when runner IPs change. Pull the allowlist endpoint on a schedule: it sends `Cache-Control: max-age=300`, so daily polling is cheap.

## Events

| Resource | Events | Payloads |
|---|---|---|
| [Autosana events](https://hookdeck.com/webhooks/autosana/events#resource-other) | 1 | 1 |

[All 1 event](https://hookdeck.com/webhooks/autosana/events)

## In this hub

- [Webhook events](https://hookdeck.com/webhooks/autosana/events): Every covered Autosana event, with payloads where the registry has them.
- [MCP events](https://hookdeck.com/webhooks/autosana/mcp-events): How an agent subscribes to Autosana events as MCP events.
- [Verify signatures](https://hookdeck.com/webhooks/autosana/verify): Signature facts, verification code and common failures.
- [Production guide](https://hookdeck.com/webhooks/autosana/guide-duplicates-retries-timeouts): Production problems, such as timeouts and retries, and how to handle them.
- [Agent skill](https://hookdeck.com/webhooks/autosana/skill): Install the webhook skill in your coding agent. `npx skills add hookdeck/webhook-skills --skill autosana-webhooks`
---

Not affiliated with Autosana. Facts are compiled from public sources and linked inline. [View as JSON](https://hookdeck.com/webhooks/autosana.json) · [Report a correction](https://hookdeck.com/contact)
