---
title: "Retrieve unsigned loan document."
method: GET
path: "/Leads/{leadId}/loandocument"
tags: ["Offers and Signing"]
---

# Retrieve unsigned loan document.

`GET /Leads/{leadId}/loandocument`

## Request

- Base URL: `https://partners.staging-youlendapi.com/onboarding`
- URL: `https://partners.staging-youlendapi.com/onboarding/Leads/{leadId}/loandocument`
- Auth: OAuth 2
  - Client credentials
  - Token URL: `https://youlend-stag.eu.auth0.com/oauth/token`

This endpoint allows you to retrieve the unsigned loan document (if any) for a given lead.

## Path parameters

- `leadId` string, uuid, required

## Headers

- `api-version` string

## Response `200`

OK

- DocumentContentModel: Model containing the metadata and byte array for a document.
  - `documentId` string, uuid: Gets or sets the document id (GUID).
  - `document` string, byte, nullable: Gets or sets the document content (byte[]).

## Other responses

- `400`: Bad Request
- `404`: Not Found

---

[API](https://skmtc.dev/youlend/apis/onboarding.md) - [All operations](https://skmtc.dev/youlend/apis/onboarding/llms.txt) - [OpenAPI document](https://skmtc.dev/youlend/apis/onboarding/revisions/32aa9c8d752a?raw)
