---
title: "List all documents."
method: GET
path: "/Leads/{leadId}/documents"
tags: ["GET Details"]
---

# List all documents.

`GET /Leads/{leadId}/documents`

## Request

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

## Path parameters

- `leadId` string, uuid, required

## Headers

- `api-version` string

## Response `200`

OK

- KycDocumentsStepModel: Model containing data about the KYC document step.
  - `companyDocuments` object, nullable: Gets or sets a dictionary mapping the document ids to YL.Web.Api.ThirdParty.Onboarding.Models.KycDocumentModel.
  - `significantPersonDocuments` SignificantPersonDocumentsModel[], nullable: Gets or sets a list of YL.Web.Api.ThirdParty.Onboarding.Models.SignificantPersonDocumentsModel.
    - `personId` string, uuid: Gets or sets the significant person id.
    - `name` string, nullable: Gets or sets the name of the significant person.
    - `documents` object, nullable: Gets or sets the dictionary mapping document name to YL.Web.Api.ThirdParty.Onboarding.Models.KycDocumentModel.
  - `bankStatements` object, nullable: Gets or sets a Dictionary of document ids to YL.Web.Api.ThirdParty.Onboarding.Models.KycDocumentModel>.
  - `leadId` string, uuid: Gets or sets the lead id.
  - `country` string, nullable: Gets or sets the country.
  - `companyType` string, nullable: Gets or sets the key merchant company type.

## Other responses

- `400`: Bad Request

---

[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)
