---
title: "Get all letters for a case"
method: GET
path: "/letters/{userId}/{caseReferenceNumber}"
tags: ["Letters"]
---

# Get all letters for a case

`GET /letters/{userId}/{caseReferenceNumber}`

Returns all letters for a specific case belonging to a specific user.

## Response `200`

List of letters for the case.

- LetterResource[]
  - `userId` string, uuid, required — Unique identifier of the user who owns the letter.
  - `caseReferenceNumber` string, required — Reference number of the case to which the letter belongs.
  - `letterId` string, uuid, required — Unique identifier of the letter.
  - `letterType` string, required — Code that identifies which letter template was used.
  - `letterData` LetterData, required — Dynamic key-value pairs used to populate the letter template. Required fields will vary depending on letterType.

## Other responses

- `401` — Access token is missing or invalid
- `403` — The JWT doesn't permit access to this endpoint
- `404` — The specified resource was not found
- `500` — Unexpected server error.

---

[API](https://skmtc.net/ministryofjustice/apis/letter-service-api.md) · [All operations](https://skmtc.net/ministryofjustice/apis/letter-service-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/ministryofjustice/letter-service-api/revisions/d6cf10a339b3/schema)
