curl --request GET \
--url https://api.byblend.com/api/v1/prescriptions/electronic_prescriptions/{electronic_prescription_id} \
--header 'Authorization: Bearer <token>'
{
"id": "0227d1e5-ba9a-42b5-8fe2-38882aa65708",
"created_at": "2025-03-15T12:00:00Z",
"updated_at": "2025-03-15T12:00:00Z",
"customer_id": "b658f16f-819c-4503-aede-bd555fc4ebfb",
"patient_id": "<string>",
"prescriber_id": "<string>",
"source": "api_json",
"type": "NewRx",
"medications": [
{
"id": "0227d1e5-ba9a-42b5-8fe2-38882aa65708",
"customer_id": "b658f16f-819c-4503-aede-bd555fc4ebfb",
"electronic_prescription_id": "b658f16f-819c-4503-aede-bd555fc4ebfb",
"patient_id": "<string>",
"prescriber_id": "<string>",
"prescription_product_id": "<string>",
"days_supply": 30,
"description": "<string>",
"directions": "<string>",
"drug_name": "<string>",
"expires_at": "2026-04-25T00:00:00",
"fills_remaining": 3,
"name": "Topical Rapamycin",
"notes": "Please dispense 30 days supply",
"product_code": "<string>",
"product_code_type": "<string>",
"quantity": 30,
"refills": 2,
"serial_number": "100721",
"sig": "<string>",
"status": "new",
"strength": "<string>",
"substitution_allowed": true,
"units": "Milliliter",
"written_at": "2025-04-25T00:00:00"
}
],
"reference_number": "<string>",
"xml": "<string>"
}
Retrieve an electronic prescription by ID. Electronic prescriptions may contain multiple medications.
curl --request GET \
--url https://api.byblend.com/api/v1/prescriptions/electronic_prescriptions/{electronic_prescription_id} \
--header 'Authorization: Bearer <token>'
{
"id": "0227d1e5-ba9a-42b5-8fe2-38882aa65708",
"created_at": "2025-03-15T12:00:00Z",
"updated_at": "2025-03-15T12:00:00Z",
"customer_id": "b658f16f-819c-4503-aede-bd555fc4ebfb",
"patient_id": "<string>",
"prescriber_id": "<string>",
"source": "api_json",
"type": "NewRx",
"medications": [
{
"id": "0227d1e5-ba9a-42b5-8fe2-38882aa65708",
"customer_id": "b658f16f-819c-4503-aede-bd555fc4ebfb",
"electronic_prescription_id": "b658f16f-819c-4503-aede-bd555fc4ebfb",
"patient_id": "<string>",
"prescriber_id": "<string>",
"prescription_product_id": "<string>",
"days_supply": 30,
"description": "<string>",
"directions": "<string>",
"drug_name": "<string>",
"expires_at": "2026-04-25T00:00:00",
"fills_remaining": 3,
"name": "Topical Rapamycin",
"notes": "Please dispense 30 days supply",
"product_code": "<string>",
"product_code_type": "<string>",
"quantity": 30,
"refills": 2,
"serial_number": "100721",
"sig": "<string>",
"status": "new",
"strength": "<string>",
"substitution_allowed": true,
"units": "Milliliter",
"written_at": "2025-04-25T00:00:00"
}
],
"reference_number": "<string>",
"xml": "<string>"
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Unique identifier for the electronic prescription (UUID).
Whether to include the XML in the response. Default is false. Will return XML in the "xml" field.
true
Successful response with electronic prescription
The response is of type object
.