Skip to main content
Use this endpoint to fetch all details for a specific prescription by ID. The response includes the medication, structured dosage, refill count, supply duration, prescriber, and linked patient and encounter.

Request

GET https://api.clinikapi.com/v1/prescriptions/{id}

Headers

x-api-key
string
required
Your ClinikAPI secret key (clk_live_* or clk_test_*).

Path Parameters

id
string
required
The prescription ID to retrieve.

Response

Returns 200 OK with the prescription resource.
data.id
string
Prescription ID.
data.status
string
Prescription status (e.g. active, completed).
data.patientId
string
Patient ID.
data.prescriberId
string
Prescriber practitioner ID.
data.medication
object
Medication code with system, code, and display.
data.dosageText
string
Free-text dosage instructions.
data.dosage
object
Structured dosage with dose, frequency, period, and route.
data.refills
integer
Authorized refill count.
data.supplyDays
integer
Days of supply.
meta
object
Standard response metadata.

Examples

curl

curl https://api.clinikapi.com/v1/prescriptions/rx_mno678 \
  -H "x-api-key: clk_live_abc123"

TypeScript SDK

import { ClinikAPI } from "@clinikapi/sdk";

const client = new ClinikAPI({ apiKey: "clk_live_abc123" });

const rx = await client.prescriptions.read("rx_mno678");
console.log(rx.data.dosageText);