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 asfunnel_conversion,order_refundedortag_added. It isnullwhen nothing fired, for example when a contact was added by hand.test–truewhen the order behind the event was a test order,falsewhen it was real,nullwhen the event is not about an order.contact– the contact, ornullwhen 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 ownContent-Typeunder 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
Authorizationkey. 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 tohttps://addresses.
Was this helpful?
Related articles
- Automation actions and delaysWhat each action step does, from sending an email to updating a field, and how delays work.
- Test an automation before going liveRun a test contact through your automation, follow the run, and fix anything before real contacts enroll.
- Automation did not runA contact did not enter your automation, or stopped part-way. Find out which check failed and fix it.