---
title: "Get waiting lists by patient identifier"
method: GET
path: "/elective-waiting-list/{patient.identifier}"
---

# Get waiting lists by patient identifier

`GET /elective-waiting-list/{patient.identifier}`

## Request

- Base URL: `https://internal-dev.api.service.nhs.uk/elective-waiting-list`
- URL: `https://internal-dev.api.service.nhs.uk/elective-waiting-list/elective-waiting-list/{patient.identifier}`
- Auth: HTTP bearer

## Overview
Use this endpoint to get a list of waiting lists for a provided patient identifier. Patient ID is NHS number of the patient. An example call is:

`https://api.service.nhs.uk/elective-waiting-list/patient?patient.identifier=https://fhir.nhs.uk/Id/nhs-number|1234567890`

## Path parameters

- `patient.identifier` string, required

## Headers

- `Authorization` string, required

## Response `200`

OK

- object
  - `result` 'success'

## Other responses

- `4XX`: An error occurred as follows: | HTTP status | Error code | Description | | ----------- | -------------------------- | --------------------------------------------- | | 400 | `error.bad-request` | The request is invalid | | 401 | `error.unauthorized` | Invalid token provided | | 403 | `error.forbidden` | Access to the requested resource is forbidden |

## Changes

- **2023-07-24** `9ecef202c574`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/nhs/apis/elective-waiting-list-producer-rest-api/changes/elective-waiting-list/:patient.identifier/get.md)

---

[API](https://skmtc.dev/nhs/apis/elective-waiting-list-producer-rest-api.md) - [All operations](https://skmtc.dev/nhs/apis/elective-waiting-list-producer-rest-api/llms.txt) - [OpenAPI document](https://skmtc.dev/nhs/apis/elective-waiting-list-producer-rest-api/revisions/28995e0013a3?raw)
