# Webhooks

Send request events to another system whenever a request is submitted, approved, rejected and more.

Source: https://support.rework.com/article/webhooks

A webhook posts the request's data to a URL you choose, every time something happens to it. Use it to push approvals into an ERP, a data warehouse, or a script that files the paperwork for you.

> **Note:** Webhooks are configured per service, and only app admins can change them.

## Where to find them

**Settings** > **Webhooks** lists every service that has webhooks configured, with its status. Click a service to open its settings straight on the Webhooks tab.

![Settings, Webhooks overview](https://storage.googleapis.com/reworkv3-public/success/260923/NAGFfC2M555k3uIJw29scaW89cYW3p8Cko6Bexxupdq1BT8d8VAAQhZfA1QcmwZj/img.4AOfYVWh0k2NyHL7NFpzPJeEcqSLvkLOigCKgRQl8gNN6SCQqFnoXMgOmJpdAa5q.png)

You can also get there the usual way: [Service settings](https://support.rework.com/article/edit-service-settings) > **Webhooks**, under **Automation**.

## The events a request can send

| Event | When it fires |
| --- | --- |
| `request.created` | The requester submits the form. |
| `request.edited` | The requester edits it before the final approval. |
| `request.approved` | The last block signs off and the request is closed as approved. |
| `request.rejected` | An approver rejects it. |
| `request.forwarded` | An approver delegates to someone else. |
| `request.returned` | An approver returns it for edits. |
| `request.resent` | The requester resends it after a return. |
| `request.invalidated` | An admin invalidates it. |
| `request.removed` | The request is deleted. |

For each event you add one or more URLs. Every URL carries its own signing secret, sent as an `X-Signature` header, and can be limited with a condition such as `{payload.status} == "approved"`.

A **Recent deliveries** list shows what was sent, with the response, and lets you retry or replay a delivery.

## Before you start

The workspace needs a webhooks service wired by an administrator. Until then, the tab can't load its configuration and outgoing webhooks don't fire, even if subscribers are saved.

![The Webhooks tab when the deployment has no webhooks service](https://storage.googleapis.com/reworkv3-public/success/260923/XQPNZkvD98m9wKD8N7az315ZsHOteYrmILVXlpw20cIginZ8oFlr1DNxL9AztxMR/img.M3xrTW2Mco8wEuH3WfwlLfPVh1ryIydarxy1I53YxBY1Lpe6MZ6W9UrYmoFcHunD.png)

> **Note:** This service also has two neighbouring tabs for moving data: **Exchanges** sends records to another service or an external URL with a field mapping, and **Bots** posts events into a chat channel.
