Overview
Webhooks are how HANA pushes data to your system in real time. When a patient interaction completes, a risk flag is detected, or a clinical note is generated, HANA sends an HTTP POST to your configured endpoint. This is the primary mechanism for the “closed loop” — HANA engages the patient, then sends structured results back to your EHR, care platform, or internal system.Event Types
Engagement Events
Clinical Events
Patient Events
System Events
Payload Structure
Every webhook payload follows a consistent envelope:engagement.completed Payload
The most common event. Contains the full output of a patient interaction:
engagement.escalated Payload
Sent immediately when a risk signal is detected. This is the highest-priority event:
Configuring Webhooks
Via API
Via SDK
Filtering Events
Subscribe only to the events you need. Less noise, fewer wasted requests:Delivery & Retry
HANA guarantees at-least-once delivery for all webhook events.Retry Schedule
If your endpoint returns a non-2xx status code or times out (30 seconds), HANA retries with exponential backoff:
After 5 failed attempts, the event is moved to the dead letter queue. You can replay failed events via the API:
Idempotency
Every event has a uniqueid. Your system should deduplicate based on this ID, since retries may deliver the same event more than once.
Testing Webhooks
Sandbox Events
In sandbox mode, all engagements produce simulated webhook events. Test your integration end-to-end without real patient calls:Manual Event Trigger
Send a test event to your endpoint:Next: EHR Integration
Connect HANA to your Electronic Health Record system.
