Webhooks
Subscribe to real-time events in your clinical ecosystem. Our webhooks notify your server instantly when medical actions occur.
Supported Events
patient.createdA new folder is architected.
claim.submittedInsurance processing initiated.
consult.startedTelemedicine session is active.
lab.readyDigital 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)