Skip to main content
GET
List stored prescriptions (change feed)

Authorizations

Authorization
string
header
required

Marketplace API key

Headers

X-Organization-Id
string
required

Target clinic organization ID

Query Parameters

updatedSince
string

Only prescriptions whose stored copy changed at/after this instant (ISO 8601 with an explicit UTC offset). When set, results are ordered by updatedAt then id. Pair with cursorId to walk without dropping rows; boundary rows re-deliver, so dedupe on id.

Example:

"2026-09-01T00:00:00.000Z"

updatedUntil
string

Only prescriptions whose stored copy changed at/before this instant. Pin it to freeze a walk's window.

Example:

"2026-09-30T23:59:59.999Z"

cursorId
string

Id of the last prescription you consumed, for a keyset walk: pass it with updatedSince set to that row's updatedAt and always request page 1. pagination.totalCount then counts from the cursor's updatedAt and shrinks as you walk; stop on a short page.

Example:

"rxp_5f1c0000000040000000000000000001"

patientId
string

Only this patient's prescriptions (pat_…)

dispensableId
string

FDB dispensable drug id

Example:

"900001"

status
string

Comma-separated statuses to include

Example:

"pending,erx"

includeDeleted
boolean
default:false

Include prescriptions the EHR no longer lists (they carry deletedFromEhrAt). Defaults to false.

Response

Success

code
string
required

Response code

Example:

"success"

data
object
required