Skip to main content

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:
Escalation events should trigger immediate action in your system. Configure alerts, page on-call staff, or route to a human operator. HANA pauses the AI conversation and follows the clinic’s defined escalation protocol, but your system must acknowledge and act.

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 unique id. 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:
This sends a synthetic payload to your URL so you can verify connectivity, parsing, and signature verification.

Next: EHR Integration

Connect HANA to your Electronic Health Record system.