Barcoding
Notifications
Orders
Patients
- GETGet patients
- POSTCreate a patient
- GETGet a patient's details
- PUTUpdate a patient's details
- GETGet guardian relationship types
- GETGet a patient's orders
- GETGet a patient's risk factors
- POSTCreate risk factors
- POSTCreate a single risk factor
- PATCHConfirm risk factor match
- DELDeactivate a risk factor
- POSTAdd freeform risk factor text
Prescribers
Prescriptions
Products and Materials
Products and Materials Inventory
- GETGet inventory
- POSTCreate product inventory
- GETGet inventory lot details
- PUTUpdate inventory lot
- GETGet a prescription product inventory
- POSTCreate prescription product inventory
- GETGet a non-prescription product inventory
- POSTCreate non-prescription product inventory
- GETGet order material inventory
- POSTCreate order material product inventory
- PATCHAdjust inventory quantity
- GETGet inventory associations
- POSTCreate inventory association
- DELRemove inventory association
Reports
Search
Tasks
Webhooks
Prescriptions
Get electronic prescription
Retrieve an electronic prescription by ID. Electronic prescriptions may contain multiple medications.
GET
/
api
/
v1
/
prescriptions
/
electronic_prescriptions
/
{electronic_prescription_id}
Copy
curl --request GET \
--url https://api.byblend.com/api/v1/prescriptions/electronic_prescriptions/{electronic_prescription_id} \
--header 'Authorization: Bearer <token>'
Copy
{
"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": "surescripts",
"type": "NewRx",
"prescriptions": [
{
"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>",
"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"
}
],
"patient_address_line_1": "<string>",
"patient_address_line_2": "<string>",
"patient_city": "<string>",
"patient_dob": "2023-12-25",
"patient_email": "<string>",
"patient_first_name": "<string>",
"patient_gender": "<string>",
"patient_identifier": "<string>",
"patient_last_name": "<string>",
"patient_middle_name": "<string>",
"patient_primary_telephone": "<string>",
"patient_state_province": "<string>",
"prescriber_address_line_1": "<string>",
"prescriber_address_line_2": "<string>",
"prescriber_city": "<string>",
"prescriber_email": "<string>",
"prescriber_first_name": "<string>",
"prescriber_last_name": "<string>",
"prescriber_middle_name": "<string>",
"prescriber_npi": "<string>",
"prescriber_postal_code": "<string>",
"prescriber_primary_telephone": "<string>",
"prescriber_state_province": "DC",
"reference_number": "<string>"
}
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Path Parameters
Unique identifier for the electronic prescription (UUID).
Response
200 - application/json
Successful response with electronic prescription
The response is of type object
.
Copy
curl --request GET \
--url https://api.byblend.com/api/v1/prescriptions/electronic_prescriptions/{electronic_prescription_id} \
--header 'Authorization: Bearer <token>'
Copy
{
"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": "surescripts",
"type": "NewRx",
"prescriptions": [
{
"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>",
"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"
}
],
"patient_address_line_1": "<string>",
"patient_address_line_2": "<string>",
"patient_city": "<string>",
"patient_dob": "2023-12-25",
"patient_email": "<string>",
"patient_first_name": "<string>",
"patient_gender": "<string>",
"patient_identifier": "<string>",
"patient_last_name": "<string>",
"patient_middle_name": "<string>",
"patient_primary_telephone": "<string>",
"patient_state_province": "<string>",
"prescriber_address_line_1": "<string>",
"prescriber_address_line_2": "<string>",
"prescriber_city": "<string>",
"prescriber_email": "<string>",
"prescriber_first_name": "<string>",
"prescriber_last_name": "<string>",
"prescriber_middle_name": "<string>",
"prescriber_npi": "<string>",
"prescriber_postal_code": "<string>",
"prescriber_primary_telephone": "<string>",
"prescriber_state_province": "DC",
"reference_number": "<string>"
}
Assistant
Responses are generated using AI and may contain mistakes.