List notifications
GET/v1/notifications
Returns the 30 most recent notifications of the clinic and environment you are working in, newest first. Placing an order creates one.
Who can call it
Any signed-in role.
Response
200 The notifications, and in meta.unread how many of them are unread. tone is t-r (needs attention), t-p (information) or t-a (a warning). href is a path in the HomelyRx portal.
{
"data": [
{
"id": "6afe9b3bd2a4d5dc8fc310d6",
"tone": "t-r",
"initials": "AR",
"title": "Line 122618-001 is at risk",
"sub": "St Luke \u00b7 ships tomorrow",
"href": "/app/orders/122618",
"read": true,
"createdAt": "2026-11-19T06:46:19.872Z"
}
],
"meta": { "unread": 0 }
}Examples
curl -b cookies.txt -H "x-hrx-env: staging" "https://app-api.homelyrx.com/v1/notifications"Mark all notifications as read
POST/v1/notifications/read-all
Marks every unread notification of the clinic and environment you are working in as read.
Who can call it
Any signed-in role.
Response
204 No body.
No body.
Examples
curl -b cookies.txt -X POST -H "x-hrx-env: staging" "https://app-api.homelyrx.com/v1/notifications/read-all"Dashboard summary
GET/v1/dashboard/summary
Headline numbers for the last 30 days of the clinic (or, in an organization's scope, all its clinics) in the chosen environment.
Who can call it
Any signed-in role.
Response
200 The numbers. spend and avgOrder leave out cancelled orders. open counts orders that are placed, at the pharmacy or shipped. onTimeRate is the share of orders that are delivered, as a whole percentage. patients is the number of patients, not limited to 30 days.
{ "data": { "orders": 14, "spend": 1835.39, "avgOrder": 141.18, "open": 6, "inTransit": 2, "atRisk": 2, "delivered": 5, "onTimeRate": 36, "patients": 9 } }Examples
curl -b cookies.txt "https://app-api.homelyrx.com/v1/dashboard/summary"