GET
/
api
/
v1
/
prescriptions
curl --request GET \
  --url https://api.byblend.com/api/v1/prescriptions \
  --header 'Authorization: Bearer <token>'
[
  {
    "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"
  }
]

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

status
string

Filter prescriptions by status. Available status values are found in the get prescription statuses endpoint.

Example:

"new"

patient_id
string

Filter prescriptions by patient ID. Send patient_id=null to find prescriptions with no patient assigned.

Example:

"5c6b8e2f-7e3c-4f2d-8a1b-9c7d5e4f3g2h"

prescription_product_id
string

Filter prescriptions by prescription product ID. Send prescription_product_id=null to find prescriptions with no prescription product assigned.

Example:

"5c6b8e2f-7e3c-4f2d-8a1b-9c7d5e4f3g2h"

prescriber_id
string

Filter prescriptions by prescriber ID. Send prescriber_id=null to find prescriptions with no prescriber assigned.

Example:

"5c6b8e2f-7e3c-4f2d-8a1b-9c7d5e4f3g2h"

include
string

Send include=all to include all related resources (customer, electronic_prescription, patient, prescription_product, prescriber) in the response.

Example:

"all"

Response

200 - application/json

Successful response with all prescriptions accessible to the current user.

The response is of type object[].