Webhooks

Subscribe to real-time events in your clinical ecosystem. Our webhooks notify your server instantly when medical actions occur.

Supported Events

patient.created

A new folder is architected.

claim.submitted

Insurance processing initiated.

consult.started

Telemedicine session is active.

lab.ready

Digital diagnostics results synced.

Security & Verification

Every webhook includes a Trinicare-Signature header. Use your Webhook Secret to verify the payload's integrity.

# Python Verification Example
import hmac
import hashlib

def verify_signature(payload, signature, secret):
    expected = hmac.new(secret.encode(), payload.encode(), hashlib.sha256).hexdigest()
    return hmac.compare_digest(expected, signature)