Install a package for your stack. Bearer auth, sandbox domains, scenario runner, HL7 inject, synthetic FHIR patients, webhook delivery list/replay, reliability profiles, and HMAC verification are built in. Full reference lives in the dashboard SDK guide (opens in new tab).
Node.js
npm install @hebrah/sdkimport { HebrahClient } from '@hebrah/sdk'
const client = new HebrahClient({
apiKey: process.env.HEBRAH_API_KEY!,
})
const patient = await client.patients.get('pat_00000000_01')
const catalog = await client.sandbox.catalog()
const domains = await client.sandbox.listDomains()
// Run a multi-step scenario
await client.sandbox.runScenario('prior_auth_happy_path', {
patientId: 'pat_00000000_01',
})
// HL7 inject
await client.sandbox.injectHl7({
templateId: 'ref_i12_referral',
patientId: 'pat_00000000_01',
})
// Webhook delivery ops
const deliveries = await client.webhooks.listDeliveries()
await client.webhooks.replayDelivery(deliveries.items[0].id)Python (coming soon)
pip install hebrahfrom hebrah import HebrahClient
with HebrahClient(api_key="hb_test_your_key") as client:
patient = client.patients.get("pat_00000000_01")
catalog = client.sandbox.catalog()
client.sandbox.run_scenario("prior_auth_happy_path", patient_id="pat_00000000_01")
client.sandbox.inject_hl7(template_id="ref_i12_referral", patient_id="pat_00000000_01")
deliveries = client.webhooks.list_deliveries()Why use the SDK
- Sandbox domains: catalog, domain detail, synthetic resources, scenarios
- HL7 inject: template catalog and inject without hand-rolling fetch
- Webhook ops: list deliveries, replay stored envelopes, configure reliability profiles
- Webhook verify:
verifyWebhookSignature/verify_webhook_signaturewith constant-time compare
Packages
- npm:
@hebrah/sdkv0.5 - PyPI:
hebrah(coming soon)