Skip to content

Send contacts to another app with a webhook

What the Webhook step sends, the headers it adds, how to check its signature and when it tries again.

Updated 25 Nov 2026


What it does

The Webhook step sends a contact's details to another app each time a contact reaches it in an automation. Use it to connect your own system, Zapier or Make. It replaces the old REST API and its API keys, which are retired: every request to /api/v1 answers 410 Gone.

Where to find it

Open an automation, press Add step, choose Action, then Webhook under Tools & data.

What it sends

Each request goes to the https:// address you give, with the method you pick: POST, PUT, PATCH or DELETE. A webhook is never sent to an http:// address or to a private or internal address.

If you leave Request body (JSON) empty, the step sends this:

{
  "version": 1,
  "event": "funnel_conversion",
  "test": false,
  "contact": { "id": "00000000-0000-4000-8000-000000000000", "email": "jane@example.com", "first_name": "Jane", "last_name": "Doe" },
  "automation_id": "00000000-0000-4000-8000-000000000000",
  "run_id": "00000000-0000-4000-8000-000000000000",
  "trigger": { "source": "lead_magnet", "funnel_slug": "free-guide" }
}
  • version – the format of this body. It changes only when a field is removed or changes meaning.
  • event – the key of the trigger that started the run, such as funnel_conversion, order_refunded or tag_added. It is null when nothing fired, for example when a contact was added by hand.
  • test – true when the order behind the event was a test order, false when it was real, null when the event is not about an order.
  • contact – the contact, or null when the run is about the workspace rather than a person.
  • trigger – the fields the trigger carried. It is left out when the trigger carried none.

To send your own body, write it in the box. These variables are filled in: {{contact.email}}, {{contact.first_name}}, {{contact.last_name}}, {{contact.id}}, {{automation.id}}, {{run.id}}, {{step.id}}, {{event.name}}, {{event.version}}, {{event.test}}, and {{trigger.order_id}} or any other field the trigger carried.

Headers it adds

  • Content-Type: application/json, unless you add your own Content-Type under Extra headers.
  • Idempotency-Key – the same value on every try of one delivery, so the other app can spot a repeat. It is {{run.id}}-step-{{step.id}} unless you change it under Duplicate protection (optional).
  • Enpire-Signature – when your workspace has a signing secret.
  • Every header you add under Extra headers, such as an Authorization key. They are never passed on when the address redirects to another host.

Check the signature

On the step, press Make signing secret and copy the secret, which starts with whsec_. It is shown only once. From then on every webhook in the workspace carries:

Enpire-Signature: t=<unix time>,v1=<hex HMAC-SHA256(secret, "<t>.<body>")>

To check a request, compute the HMAC-SHA256 of the t value, a dot and the exact body, with the secret as the key, and compare it with each v1; accept the request when one matches. For a day after you replace the secret, the header carries a second v1 signed with the old one, so an app that does not have the new one yet keeps accepting (unless you chose that the secret leaked, which stops the old one at once). Refuse a request whose t is more than five minutes from your own clock.

When it tries again

A delivery is done when the other app answers with a 2xx status. A timeout, a network error, or a 408, 425, 429 or 5xx answer is tried again, up to Times to try again if it fails (3 unless you change it, at most 10), waiting a little longer each time. All tries together stop after 20 seconds, and then the run tries the step again later. If your app answers 429 or 503 with a Retry-After header, the next try waits at least that long (at most a day). Any other 4xx answer, and 410, stops at once, because the same request would be refused again.

If deliveries to one address keep failing for over an hour, we stop sending to it and tell you. Runs wait at the step until you fix the receiver, open the step and press Resume.

Test it

Press Send a test request. It sends one request now with a sample contact (Jane Doe, jane@example.com), signed like a real one and with test set to true. No contact or run is touched.

Common mistakes

  • Checking the signature against parsed JSON. Parsing and writing the body again changes its bytes. Check the raw body exactly as it arrived.
  • Using an http:// address. Webhooks are only sent to https:// addresses.

Was this helpful?