Refill Notifications
Tell a practice that a patient needs a prescription refilled, and track the request until it is ordered or dismissed.
A refill notification tells a practice that a patient needs a prescription refilled. It has no author: user_id is the practice user it is assigned to. For partners whose app runs inside Hint.
A refill notification does not order anything. Record the new prescription with Create Prescription when it is ordered; see Prescriptions and Medications.
Creating a refill notification requires a user-scoped API key (see Building an App). Reading, updating, and dismissing work with either key.
Create a refill notification
POST /api/provider/patients/{patient_id}/refill_notifications
Call Create Refill Notification with the handshake access_token:
{
"refill_notification": {
"rx_name": "Lisinopril 10mg",
"requested_at": "2026-10-21T14:00:00Z",
"last_filled_at": "2026-09-21",
"medication_id": "med-ab12C345DeF6",
"interaction_id": "inter-ab12C345DeF6GhI7",
"integration_record_id": "your-refill-118"
}
}The response is the refill notification:
{
"id": "refill-ab12C345",
"patient": { "id": "pat-ab12C345DeF6" },
"user_id": "00000000-0000-0000-0000-000000000001",
"status": "outstanding",
"rx_name": "Lisinopril 10mg",
"medication_id": "med-ab12C345DeF6",
"interaction_id": "inter-ab12C345DeF6GhI7",
"requested_at": "2026-10-21T14:00:00Z",
"last_filled_at": "2026-09-21",
"created_at": "2026-10-21T14:00:05Z",
"updated_at": "2026-10-21T14:00:05Z",
"integration_record_id": "your-refill-118",
"integration_sync_status": "enabled",
"integration_web_link": null,
"integration_error_message": null,
"integration_last_synced_at": null
}rx_nameandrequested_atare required. Sendrequested_atas an ISO 8601 date-time andlast_filled_atasYYYY-MM-DD.user_idis the user signed in to your app when you made the call. You cannot choose a different user.medication_idlinks the notification to a record from List Patient Medications.interaction_idlinks it to a prescription interaction (type=erx). Both are optional.partner_product_idis optional. When you omit it, Hint uses the product your app was opened from. Naming a product the practice has not installed returns400.
Move a notification through its statuses
flowchart LR O[outstanding] --> R[ordered] O --> D[dismissed]
| Status | Meaning | How to set it |
|---|---|---|
outstanding | The refill is waiting for the practice | The default on create |
ordered | The refill was ordered | Update Refill Notification with status: "ordered" |
dismissed | The practice or your system closed it without ordering | Dismiss Refill Notification |
Update accepts status, medication_id, interaction_id, and the integration record fields. Send null for medication_id or interaction_id to clear the link. Update never changes user_id.
Dismiss (DELETE .../refill_notifications/{id}) keeps the notification as an audit trail and returns it with status: "dismissed".
Read refill notifications
Use List Patient Refill Notifications:
GET /api/provider/patients/{patient_id}/refill_notifications?status=outstanding
Filter by status or by user_id (the assigned user), and page with limit and offset. X-Count is the number returned on this page; X-Total-Count is the total matching the filters. Show Refill Notification returns one notification by ID.
The list includes every refill notification for the patient, not only yours. Refills that pharmacies send through Hint's e-prescribing integration are assigned to the user linked to the prescriber, and have user_id: null when no single user matches.
Updated about 18 hours ago

