---
title: "Retrieve a document for a loan"
method: GET
path: "/Loans/{loanId}/document/{documentId}"
tags: ["Loans"]
---

# Retrieve a document for a loan

`GET /Loans/{loanId}/document/{documentId}`

## Path parameters

- `loanId` string, uuid, required — Loan ID (a GUID)
- `documentId` string, uuid, required — Document ID of Loan (a GUID)

## Headers

- `api-version` string

## Response `200`

Document successfully retrieved

- DocumentModel
  - `document` string, byte, nullable — Gets or sets the document byte array
  - `documentId` string, uuid — Gets or sets the document's unique identifier
  - `documentType` string, nullable — Gets or sets the document's type
  - `contractType` string, nullable — Gets or sets the agreement contract type for the loan (e.g. "RPA" or "LA").

## Other responses

- `400` — No such document was found for this loan... please check your Loan or Document ID
- `401` — Unauthorized request! Please check your bearer token

---

[API](https://skmtc.net/youlend/apis/prequalification.md) · [All operations](https://skmtc.net/youlend/apis/prequalification/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/youlend/prequalification/versions/a76313c6cc3d/schema)
