---
title: "Create a loan"
method: POST
path: "/leads/{leadId}/loan/create"
tags: ["Onboarding - Leads"]
---

# Create a loan

`POST /leads/{leadId}/loan/create`

## Path parameters

- `leadId` string, uuid, required

## Headers

- `api-version` string

## Response `201`

Created

- CreateTestLoanResponse
  - `loanId` string, uuid
  - `loanNumber` integer
  - `status` string, nullable
  - `leadId` string, uuid
  - `sourceOfferId` string, uuid

## Other responses

- `400` — Bad Request

---

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