Solutions
Your systems stay in sync
The AutoRx API is queue-based. Webhooks are how you close the loop — no polling required.
- No setup fee
- Live in 1–2 weeks
- PHIPA compliant
- Canadian data residency
Why webhooks
Events AutoRx sends
rx.completedThe Kroll write succeeded. Includes patient identifier, queue ID, and the DIN written.
rx.failedThe write failed permanently after retries. Includes the failure reason and the original queue ID.
rx.exceptedThe prescription was routed to the human review queue. Fires when exception occurs, not when it's resolved.
rx.resolvedA human reviewed and approved the exception; Kroll write has now completed.
Delivery and reliability
AutoRx delivers webhooks with at-least-once semantics. If your endpoint is unreachable or returns a non-2xx response, AutoRx retries with exponential backoff over 24 hours. Each delivery attempt includes a timestamp and attempt number in the payload, so your system can deduplicate if needed.
Payload structure
All webhook events use a consistent envelope.
event
Event type string — e.g. rx.completed.
id
Unique event ID for deduplication across retries.
queueId
The intake queue ID returned when the Rx was first submitted.
timestamp
ISO 8601 UTC timestamp of when the event fired.
data
Event-specific payload — differs per event type.
Security: signature verification
X-AutoRx-Signature header — an HMAC-SHA256 signature of the raw payload body using your webhook secret. Verify this header on your end before processing any event. Details are in the developer documentation.Configuring endpoints
Get started with AutoRx
Ready to automate?
Most pharmacies go live within 1–2 weeks. No waitlist, no setup fee, and your existing Kroll setup stays exactly as-is.
Usually responds same business day
