---
search:
  tags:
    - Prescriptions
    - GET
seo:
  description: >-
    Any signed in user. Returns the caller's branch prescriptions with their
    medicine… Reference for the GET /api/v1/prescriptions endpoint in the
    PharmaFlow API.
sidebar:
  label: List prescriptions
  badge: GET
title: List prescriptions
type: openapi-operation
---
Any signed in user. Returns the caller's branch prescriptions with their medicine lines. Pending first, status filters to PENDING, DISPENSED, or CANCELLED, and the page params page.

`GET /api/v1/prescriptions`

**Responses**

- `200` — A page of prescriptions
- `401` — Not authenticated

Response example, 200:

```json
{
  "total": -9007199254740991,
  "page": -9007199254740991,
  "page_size": -9007199254740991,
  "items": [
    {
      "id": "string",
      "branch_id": "string",
      "rx_number": "string",
      "patient_name": "string",
      "patient_id_number": "string",
      "prescriber_name": "string",
      "prescriber_license": "string",
      "status": "string",
      "sale_id": "string",
      "dispensed_by": "string",
      "dispensed_by_name": "string",
      "notes": "string",
      "created_by": "string",
      "created_at": "string",
      "updated_at": "string",
      "dispensed_at": "string",
      "items": [
        {
          "id": "string",
          "prescription_id": "string",
          "medicine_id": "string",
          "quantity": -9007199254740991,
          "dosage_instructions": "string",
          "medicine_name": "string",
          "selling_price": "string",
          "vat_category": "string",
          "requires_prescription": -9007199254740991
        }
      ]
    }
  ]
}
```
