Skip to main content
The Applications API is in preview. Preview APIs aren’t available in sandbox or production yet and can change before beta. Use these pages to plan your integration. You can’t call a preview API yet. Beta is planned for December 2026. See Versioning and backwards compatibility.
An application is your report of a final underwriting decision. You create one with POST /v2/applications, update it with PATCH /v2/applications/{id}, and read it with GET /v2/applications/{id}. POST and PATCH require an Idempotency-Key header of up to 255 characters. See Idempotency.

Fields

The entities block

Each relationship type takes up to 20 entities. On every status, Lead checks that each entity exists, that no entity appears twice in one relationship type, that no account holder is a lead or partner entity, and that the account holders are all consumer or all commercial. On approved applications only, Lead also checks that each entity is eligible for its relationship type and that a commercial application has an authorized signer. See Entity Eligibility. 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. On an approved application, every update re-runs the entity checks, so a change to an entity since creation can fail an unrelated update.

The details block

The underwriting block

The report block

Optional unless your program requires it. Your Technical Account Manager can tell you whether yours does. When you send a report, pulled_at and source are required, and you send exactly one of score or non_score_value.

The adverse action notice block

Required when status is declined. All three fields are required when the object is present.

The decision block

Required when you create an application. Applications you reported in an Application file as submitted or under_review have no decision yet, so the response omits decision.

Documents

Each entry in documents links a compliance document, like an agreement, disclosure, or consent, to the application. The document is a file you uploaded with the Files API. Upload the file with POST /v2/files, declaring its type, then link the returned file_id on the application. Each file has one type, which you declare when you upload it. Lead takes the type from the file, so document entries do not carry type, and the application does not return it. Retrieve it with GET /v2/files/{id}. The file’s type must be one of the Application or User Account document types.
  • documents is required on create, and an empty array is valid. Send [] when you have no documents to link yet, then add them later with a PATCH.
  • Each file appears at most once per application, and each file has one type. If one document serves two types, upload it once for each. You can link several files of the same type, like two versions of your terms.
  • One file can back many applications. Upload a static document like a fee schedule once and link it everywhere it applies.
  • A supplied array replaces the whole array. To add a document, send every existing entry plus the new one. Lead re-checks every file_id.
  • When your customer accepts a new version, keep the old entry. Add a new entry with its own file_id. A file never changes after upload, so a new version is a new file.

Create and update

POST /v2/applications and PATCH /v2/applications/{id} both require an Idempotency-Key header of up to 255 characters. A request without one returns 400 idempotency_key_missing. Lead does not check for duplicate applications, so resend a POST that timed out with the same Idempotency-Key. See Idempotency. Lead ignores fields an endpoint does not define, including nested ones and response-only fields like entities.account_holder_type, and returns no error. Check your field names: a PATCH that sends only ignored fields returns 200 and changes nothing. PATCH changes only the fields you send:
  • You can change product_name, details, decision, documents, and metadata.
  • Fields you leave out keep their stored values. details.underwriting, details.underwriting.report, details.adverse_action_notice, and decision merge with the stored values.
  • PATCH does not accept null, so you cannot clear a field once it is set.
  • After the merge, a credit report must still have pulled_at, source, and exactly one of score or non_score_value. On a declined application, the adverse action notice must still have all three fields.
  • limit cannot exceed max_limit. Lead compares the values after the merge, so changing only one of them can fail.
  • status and entities cannot change. A PATCH that includes either returns 200 and leaves it unchanged.
  • If another request changes the application while yours is processing, Lead returns 409 object_modified_concurrently. Retrieve the application and retry.

Coming from the v0 Applications API

Applications keep their id across versions. An application you created on v0 is readable and updatable on v2 by id. To find the id of an application you reported in an Application file, list applications filtered by client_application_id. v0 stays live until its sunset date, which Lead announces in Upcoming Changes with sandbox time before you have to move. Most fields carry over unchanged. These are the ones that differ:
  • Document entries you sent through v0 come back in legacy_documents, exactly as you sent them. documents holds only the files you link on v2.
  • legacy_documents is read only and ignored if sent.
Applications Overview · Application Statuses · Entity Eligibility