Skip to content

Data, API and integrations

Webhooks

Receive a signed message at your own address when a client is created, an order changes, a distribution is approved and more.

  • Updated
  • For managers

Who can do this: Owners and admins

Events

Webhook events
EventSent when
client.createdA client is added.
order.submittedAn order is placed.
order.approvedAn order is approved.
order.settledAn order is settled and fractions are issued.
distribution.approvedA distribution is approved.
transfer.completedA transfer between investors is completed.
message.receivedA client sends a message.

Payloads carry ids, numbers and amounts but no personal data. Your system fetches the details with an API key.

Add an endpoint

  1. Open Settings, then Webhooks, and choose Add endpoint.
  2. Enter an https address that answers with a 2xx status within a few seconds. Choose the events.
  3. Copy the signing secret. It is shown once.
  4. Choose Send test event to check that it arrives.
  • Only https addresses on public hosts are accepted. Addresses that point to private or internal networks are refused.
  • Redirects are not followed.

Verify the signature

Each delivery is a JSON POST with the headers EasyHaus-Event, EasyHaus-Delivery and EasyHaus-Signature. The signature looks like t=<unix time>,v1=<hex>. Compute an HMAC-SHA256 of the text <t>.<raw body> with your secret, compare it with v1, and reject old timestamps.

The body is {id, type, created_at, organization_id, data}.

Retries and switching off

  • Answer within 10 seconds. A failed delivery is retried with growing delays, up to 10 attempts.
  • After 20 failures in a row the endpoint is switched off and the owners and admins are emailed. Fix it, then turn it on again, which resets the count.
  • The delivery log shows each delivery, its status and HTTP code, and lets you redeliver.
  • You can edit the events, turn an endpoint off, rotate the secret (the old one stops at once) or delete it.

Did not find what you need?

Tell us what you were trying to do. We answer by email, and your question helps us write the next guide. Never send passwords, ID numbers or bank details.