Skip to main content
POST
See Errors for the common errors every v2 endpoint can return.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

Idempotency-Key
string
required

A unique key for this request, up to 255 characters. Retrying with the same key and body returns the original response without creating a second application. See Idempotency. A unique key for this request, up to 255 characters. Retrying with the same key and body returns the original response instead of performing the operation again.

Required string length: 1 - 255
Example:

"3f1c9a52-7d4e-4b8a-9c21-6e0f5d2a8b14"

Body

application/json

Request body for POST /v2/applications. The application is created in its final status.

client_application_id and legacy_documents are response only. Lead ignores them, and any other field this endpoint does not define, if sent.

status
enum<string>
required

Terminal state of the application. Possible values: approved, declined, canceled.

Available options:
approved,
declined,
canceled
product_config_id
string
required

Identifies the product configuration set up for your program. Provided to you by your Lead Technical Account Manager. Cannot be changed once set.

Pattern: ^product_config_\w+$
Example:

"product_config_xyz123"

entities
object
required

The entities on the application. Each must already exist. Each relationship type takes up to 20 entities, and no entity can appear twice in one type. The account holders must be all consumer (individuals) or all commercial (businesses or sole proprietorships).

On approved applications only, each entity must be eligible for its relationship type, and a commercial application needs at least one authorized signer. Your program can also require credit data on each account holder's and authorized signer's entity for approved applications; your Technical Account Manager can tell you whether yours does.

account_holder_type is derived by Lead and response only, so Lead ignores it if sent. Entities cannot change after creation.

underwriting
object
required

Underwriting inputs and outcomes.

decision
object
required

When and why the underwriting decision was made.

adverse_action_notice
object

The adverse action notice you sent the applicant. Required when status is declined. Its delivered_at can't be more than five minutes ahead of Lead's clock.

documents
object[]

Legal or informational documents associated with the application, each referencing a file you uploaded with POST /v2/files. Lead accepts only files whose type can link to an application. See the file type enum list. A supplied array replaces the whole array, and Lead re-checks every file_id in it. Optional: leave it out or send [] when you have no documents to link yet. Both mean no documents.

metadata
object

Key-value pairs for your own use.

Response

Application created.

An application, your report of an underwriting decision. Applications created on v0 are returned in this shape.

id
string
required

Lead-issued identifier of the application. application_ followed by 27 letters or digits.

Pattern: ^application_[0-9A-Za-z]{27}$
Example:

"application_2N5Hk8xYmQpL9rBvC3jDaFgHiJk"

status
enum<string>
required

The application's status. Applications created through the API are always approved, declined, or canceled, the statuses POST accepts.

submitted and under_review appear only on applications you reported in an Application file before a decision was made. An application in either status is read only: POST does not accept these statuses, status is not a PATCH field, and a PATCH on the application returns 422 object_state_mismatched. Once a file reports a final status, the application accepts a PATCH like any other.

Available options:
approved,
declined,
canceled,
submitted,
under_review
Example:

"approved"

entities
object
required

The entities associated with the application.

underwriting
object
required

Underwriting inputs and outcomes.

documents
object[]
required

Legal or informational documents associated with the application, each referencing a file you uploaded with POST /v2/files. Lead accepts only files whose type can link to an application. See the file type enum list. Always an array.

legacy_documents
object[]
required

Response only. Document entries created on v0 Applications, returned exactly as sent. Always present; [] on applications created through v2. Lead ignores it if sent on a POST or PATCH.

metadata
object
required

Key-value pairs for your own use. Always present; {} when there are none.

created_at
string<date-time>
required

When the application was created. RFC 3339, UTC.

Example:

"2026-05-14T15:59:30Z"

client_application_id
string

Response only. Your ID for applications you reported in an Application file. Lead omits it for applications created through the API.

Example:

"APP-2024-001"

product_name
string

Your internal product name, read only. Present only on applications created before product configs existed, with the value set then. The product an application is for is product_config_id.

Example:

"Growth Business Credit Line"

product_config_id
string

The ID of the product configuration the application was created under. Omitted only on applications created before product config IDs existed.

Pattern: ^product_config_\w+$
Example:

"product_config_xyz123"

adverse_action_notice
object

The adverse action notice you sent the applicant. Present on declined applications.

decision
object

When and why the underwriting decision was made. Absent when status is submitted or under_review.