Subscribe an address to events
webhooks:manageRate limit writesIdempotent with Idempotency-KeySubscribes an https address on a public host to events from GET /webhooks/events. The API key must also hold the read scopes each event needs (listed per event), or the request is refused with 403 forbidden_scope. secret (32–200 characters) is yours: every delivery is a POST of JSON { id, type, api_version, project_id, created_at, events: [ … ] } with the headers X-Estage-Event, X-Estage-Delivery and X-Estage-Signature: t=<unix seconds>,v1=<hex HMAC-SHA256 of "<t>.<raw body>" with the secret>. Answer 2xx to accept; 410 turns the webhook off; anything else is retried after 1 min, 5 min, 30 min, 2 h and 6 h, and after 10 deliveries in a row fail every try the webhook is turned off. Each event carries an id to drop repeats. At most 10 webhooks per project; an address already subscribed is refused — PATCH it instead.
Authorization
ESTAGE-API-KeystringheaderrequiredA project key, est_live_…, from Settings → API keys. Call from server code only.
Body
application/jsonurlstringrequireduri≤ 500 charshttps only; the host must resolve to public addresses. Redirects are not followed.
eventsarray of stringrequired≤ 28 itemsOne of contact.created, contact.updated, contact.suppressed, contact.tag_added, contact.tag_removed, list.subscribed, list.unsubscribed, field.changed, broadcast.sent, email.delivered, email.opened, email.clicked, email.bounced, email.complained, email.unsubscribed, automation.enrolled, automation.completed, order.paid, order.refunded, order.cancelled, order.fulfilled, booking.created, booking.cancelled, booking.rescheduled, booking.no_show, affiliate.joined, affiliate.earning_created, payout.paid
secretstringrequired≥ 32 chars≤ 200 charsdescriptionstringnullable≤ 200 charsHeaders
Idempotency-Keystring≤ 255 charsAny unique string per attempt. A retry with the same key gets the first answer back instead of doing the work twice.
curl --request POST \ --url 'https://api.estage.com/v1/webhooks' \ --header 'ESTAGE-API-Key: est_live_your-api-key' \ --header 'Content-Type: application/json' \ --header 'Idempotency-Key: your-unique-key' \ --data '{ "url": "https://hooks.example.com/estage", "events": [ "contact.created", "order.paid" ], "secret": "whsec_9f8e7d6c5b4a39281706f5e4d3c2b1a0", "description": "CRM sync" }'
{
"data": {
"id": 7,
"url": "https://hooks.example.com/estage",
"events": [
"contact.created",
"order.paid"
],
"status": "active",
"description": "CRM sync",
"disabled_reason": null,
"failures": 0,
"last_success_at": null,
"last_failure_at": null,
"last_error": null,
"created_at": "2026-11-13T10:00:00Z",
"updated_at": "2026-11-13T10:00:00Z"
}
}{ error: { code, message, details } }.