Skip to content
Documentation
Hevia for developers

Webhooks

Signed JSON POSTs to your https endpoint whenever something happens in a business.

A business subscribes up to 10 https URLs (port 443, public host, redirects are not followed) on the dashboard page Webhooks or through an app manifest. Each endpoint picks the events it wants from the event catalog. Every delivery is a JSON POST with this envelope (version 1):

JSON
{
  "id": "deal-3f1c2a9e",
  "type": "deal.won",
  "version": 1,
  "createdAt": "2026-11-10T09:30:00.000Z",
  "business": "your-business-id",
  "livemode": true,
  "data": {
    "dealId": "3f1c2a9e-5b7d-4e21-9c0a-6d8e2f4b1a70",
    "title": "Website relaunch",
    "valueCents": 480000,
    "currency": "EUR",
    "contactKey": "e:anna@example.com"
  }
}
FieldMeaning
idStable id of the event. The same event is delivered once per subscription: use it to ignore repeats.
typeEvent type, for example deal.won.
versionSchema version of data for this type.
createdAtWhen it happened (ISO 8601, UTC).
businessId of the business.
livemodefalse for events of a sandbox. Never treat them as real.
dataThe fields of the event type.

Headers: Hevia-Event, Hevia-Event-Version, Hevia-Event-Id, Hevia-Delivery, Hevia-Signature.

Answer quickly

Return any 2xx within a few seconds and do the work afterwards (a queue, a background job). Anything else counts as a failure and is retried.

Warning

Verify the signature before you read the body. Without it, anyone who knows your URL can send you events.

Generated from the product's own registries, so the reference matches the API.