Webhooks Setup
Configure webhooks to receive real-time prescription status updates.
4 min read
Webhooks Setup
Receive real-time notifications about prescription events.
Supported Events
prescription.created— New prescription submittedprescription.dispensed— Prescription has been dispensedprescription.cancelled— Prescription was cancelledprescription.expired— Prescription has expiredpharmacy.verified— Pharmacy verified the prescription
Configuration
- Go to Developer > Webhooks
- Add your endpoint URL
- Select the events you want to receive
- Save and test with a sample payload
Payload Format
``json
{
"event": "prescription.dispensed",
"timestamp": "2026-04-08T10:30:00Z",
"data": {
"prescriptionId": "rx_abc123",
"status": "dispensed"
}
}
``
Retry Policy
Failed deliveries are retried up to 5 times with exponential backoff. Configure a fallback URL for critical events.
Was this article helpful?