Mediloop
DocsAPIsPrescription APIList prescriptions
Prescription API

List prescriptions

Retrieve a list of prescriptions the authenticated user has access to.

GET/prescriptionsOAuth 2.0prescriptions.read200 OK

Authentication

OAuth 2.0

Required

Permissions

prescriptions.read

Required

Rate limit

600 requests / min

Default

Caching

30 seconds

Recommended

Response

200 OK

Query parameters

ParameterTypeRequiredDescription
patient_iduuidNoFilter by patient
statusstringNoFilter by lifecycle status
fromdate-timeNoCreated after
todate-timeNoCreated before
pageintegerNoPage number
limitintegerNoItems per page

Filtering

FilterBehavior
statusdraft, clinically_validated, signed, routed, dispensed, cancelled
role visibilityResults are filtered by authenticated role and tenant membership
date rangeUse from/to to constrain result windows

Example request

cURL

curl -X GET "https://api.mediloop.com/v1/prescriptions?status=signed&page=1&limit=25" \
 -H "Authorization: Bearer $ACCESS_TOKEN"

Example response

200 OK
{
  "data": [{"id":"presc_456","status":"signed"}],
  "meta": {"page":1,"limit":25,"total":1}
}

Example response

Responses use stable identifiers and lifecycle status values so clients can safely coordinate clinical and pharmacy workflows.

Responses

HTTPDescription
200Request completed successfully
201Resource/action created
400Validation error
401Authentication required
403Insufficient permission or scope
404Prescription not found
409Lifecycle or concurrency conflict
422Unprocessable clinical/request data

Pagination

Use page/limit in the current design. Cursor pagination can be introduced later without changing the resource semantics.

Workflow

draft

Created by provider

clinically_validated

Clinically validated

signed

Digitally signed

routed

Sent to pharmacy

dispensed

Dispensed to patient