---
title: List Patient Recommendations
slug: list-patient-recommendations
icon: {"faIcon":"fa-solid fa-code"}
createdAt: 2022-12-20T17:02:10.000Z
---

You can get a list of all recommendations for a patient by the patient's id.

## Return

This call returns a compacted array of recommendation references, to check recommendation status and dates. Use the recommendation\_id to get details via the View Recommendation call.

:::ApiMethodV2
```json
{
  "tab": "examples",
  "url": "/V1/dispensary/patient/:patient_id/recommendation",
  "name": "API",
  "method": "GET",
  "request": {
    "pathParameters": [
      {
        "kind": "required",
        "name": "patient_id",
        "type": "string",
        "children": [],
        "description": "The patient's id for whom to list the recommendations."
      }
    ],
    "queryParameters": [],
    "headerParameters": [
      {
        "kind": "required",
        "name": "Authorization",
        "type": "string",
        "children": [],
        "description": "The Access Token"
      }
    ],
    "bodyDataParameters": [],
    "formDataParameters": []
  },
  "results": {
    "languages": [
      {
        "id": "sT7x5eCla7VJy6tWNaRmD",
        "code": "{\n    \"recommendations\":[{\n       \"id\": \"45x0xx-x840-41xx-9922-98xx6001507x\",\n       \"status\": \"pending\",\n       \"created_at\": \"2022-12-01T05:00:00.000Z\"\n    },{\n       \"id\": \"1x0196x-5615-4874-xxe4-48x459180x0x\",\n       \"status\": \"purchased\",\n       \"created_at\":\"2021-08-01T05:00:00.000Z\"\n    }]\n}",
        "language": "200",
        "customLabel": ""
      }
    ],
    "selectedLanguageId": "sT7x5eCla7VJy6tWNaRmD"
  },
  "examples": {
    "languages": [
      {
        "id": "LHVvurBLV3O1dJZkyhQCQ",
        "code": "curl --location -g --request GET 'https://{{api_host}}/rest/{{scope}}/V1/patient/:patient_id/recommendation' \\\n--header 'Content-Type: application/json' \\\n--header 'Authorization: Bearer {{access_token}}' ",
        "language": "curl",
        "customLabel": ""
      }
    ],
    "selectedLanguageId": "LHVvurBLV3O1dJZkyhQCQ"
  },
  "description": "",
  "currentNewParameter": {
    "label": "Path Parameter",
    "value": "pathParameters"
  },
  "autoGeneratedAnchorSlug": "api",
  "legacyHash": "SqzjFv70KmmYJSrnE8RbA"
}
```
:::

