ESTAGE Support
IdeasMy tickets

Receive CRM events in your app (webhooks)

Updated November 16, 2026

Get a signed message on your own server the moment something happens in your CRM — a new contact, a paid order, a booking, an email opened.

A webhook sends a CRM event to an address on your server: ESTAGE posts a short JSON message there each time the event happens. Use it to keep your own app or database in step with ESTAGE.

Note

This is about events from your CRM to your app. To send form submissions from your site to Zapier, Make or n8n, see Webhooks (Zapier, Make, n8n).

Before you start

  • An API key with Webhooks → Manage, plus Read on what the events carry — Contacts → Read for contact events, Orders → Read for orders, and so on. Creating or changing a webhook needs Read on what its events carry.
  • An https address on your server that accepts a POST and answers 2xx within 10 seconds.

Create a webhook

curl https://api.estage.com/v1/webhooks \
  -H "ESTAGE-API-Key: $ESTAGE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{ "url": "https://example.com/estage", "events": ["contact.created", "order.paid"], "secret": "<a random string of at least 32 characters>" }'
  • events — what to send. GET /v1/webhooks/events lists them all: contacts, tags, lists, fields, email (delivered, opened, clicked, bounced…), automations, orders, bookings, affiliates and payouts.
  • secret — your own random string, used to sign every message. Keep it on your server.

A project can have 10 webhooks. POST /v1/webhooks/{id}/test sends a webhook.test message to check your address.

What arrives

Each message is a POST with a JSON body:

{ "id": "…", "type": "order.paid", "api_version": "…", "project_id": 70283, "created_at": "2026-11-17T10:00:00Z", "events": [ { … } ] }

and these headers:

  • X-Estage-Event — the event, for example order.paid;
  • X-Estage-Delivery — the message's id; the same id on a retry;
  • X-Estage-Signature — t=<unix time>,v1=<signature>.

Check the signature

Before you trust a message, check it came from ESTAGE:

  1. Take t and v1 from X-Estage-Signature.
  2. Compute HMAC-SHA256 of <t>.<raw request body> with your secret, as hex.
  3. It must equal v1. Reject a message whose t is more than a few minutes old.

Use the raw body exactly as received — not JSON parsed and printed again.

Retries and switching off

  • An answer other than 2xx, or no answer in 10 seconds, is retried: after 1 minute, 5 minutes, 30 minutes, 2 hours and 6 hours.
  • After 10 failed messages in a row, the webhook is turned off. Fix the address, then turn it back on with PATCH /v1/webhooks/{id} { "status": "active" }.
  • Answer 410 and ESTAGE stops sending to that address at once.
  • GET /v1/webhooks/{id}/deliveries lists the last 30 days of messages and how each went.
Was this helpful? Still stuck? Write to the team