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

# Webhooks

> Bring in leads from any form tool that can send a webhook.

Form tools such as Elementor, Typeform, JotForm, Google Ads lead forms and landing page builders can send each submission to a web address. Give each one its own Marro address and its submissions become leads, with no code. Open **Settings → Integrations → Webhooks**.

## Set one up

**1. Add a webhook**

Choose **New webhook** and name it after the form, for example "Website contact form".

**2. Paste the address**

Copy it into your tool's webhook URL box. It accepts JSON, form posts and query strings.

**3. Send a test**

Submit your form once. Marro shows what arrived and suggests where each field goes.

**4. Map fields**

Choose **Map fields** and pick the Marro field each one fills: name, phone, email, a message for the timeline, or any lead field. Name and phone are needed.

**5. Save**

Choose the lead source and pipeline, then save.

## What happens next

<ol />

Someone you already have, by phone or email, is updated instead of added twice: only empty fields are filled. The submission shows on the lead's timeline.

## Manage it

| Control | What it does |
| - | - |
| Counts and last problem | Shows submissions, leads and why one failed |
| **Replace address** | Gives a new address. The old one stops at once |
| **Take submissions** | Turn off to pause |

## Check it came from Marro

Each event Marro sends to your address is a `POST` with a JSON body of `id`, `event`, `occurredAt`, `test` (on test events only), `organization`, `lead` and `change`. These headers come with it.

| Header | What it holds |
| - | - |
| `X-CRM-Signature` | `sha256=` followed by the hex HMAC-SHA256 of the raw body, keyed with the **Signing secret** shown on the page |
| `X-CRM-Event` | The name of the event |
| `X-CRM-Delivery` | Identifies the delivery. Every try of one event has the same value, so your workflow can ignore one it has already had |

```text theme={null}
X-CRM-Signature: sha256=<hex HMAC-SHA256 of the raw body, keyed with the Signing secret>
```

An event that gets no answer, a `429` or a `5xx` is tried again after 1 minute, 5 minutes, 30 minutes, 2 hours and 8 hours, then dropped.

## For developers

> [card] [Writing your own website code?](https://docs.marro.si/guides/connect-a-website.md)
>
> Use the lead capture API, which takes the same fields from your server.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.