---
title: "Get a specific letter"
method: GET
path: "/letters/{userId}/{caseReferenceNumber}/{letterId}"
tags: ["Letters"]
---

# Get a specific letter

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

Returns the details of a specific letter for a given user and case. Available as raw json, an interpolated template or a PDF stream.

## Response `200`

Details of the requested letter.

- union
  - LetterResource — Represents a stored letter and its associated metadata.
    - `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.
  - TemplateResource — Represents a stored letter and its associated metadata.
    - `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.
    - `templateInstance` object, required — Interpolated/derived values produced by applying the template.

## Other responses

- `400` — There is an issue with the request
- `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/versions/d6cf10a339b3/schema)
