LendWorksLendWorksDocs

Applications

List and retrieve loan applications (opportunities) as they progress through lender submissions.

Applications (internally called "opportunities") represent loan applications submitted to lenders. They track the full lifecycle from initial submission through approval, decline, or funding.

List Applications

GET /v1/applications

Returns a paginated list of applications in your organization.

Query Parameters

ParameterTypeDefaultDescription
pageinteger1Page number
limitinteger20Items per page (max 100)

Example Request

curl -H "Authorization: Bearer lw_live_xxxx" \
     "https://api.lend.works/v1/applications?limit=20"

Example Response

{
  "data": [
    {
      "id": "b5a6c7d8-1234-5678-9abc-def012345678",
      "type": "application",
      "attributes": {
        "stage": {
          "id": "f1e2d3c4-...",
          "label": "Submitted"
        },
        "advisor": {
          "id": "e5f6g7h8-...",
          "name": "Mike Johnson"
        },
        "client": {
          "id": "d290f1ee-...",
          "businessName": "Acme Corp"
        },
        "account": {
          "id": "a1b2c3d4-...",
          "name": "Acme Corp"
        },
        "requestedAmount": "250000",
        "createdAt": "2025-01-15T10:30:00Z",
        "updatedAt": "2025-01-16T09:15:00Z"
      }
    }
  ],
  "meta": {
    "total": 18,
    "page": 1,
    "limit": 20,
    "hasMore": false,
    "requestId": "772a0622-c39b-43d6-c938-668877662222"
  }
}

Get an Application

GET /v1/applications/{id}

Retrieve a single application with full details including submission and offer counts.

Path Parameters

ParameterTypeDescription
idUUIDApplication ID

Example Request

curl -H "Authorization: Bearer lw_live_xxxx" \
     https://api.lend.works/v1/applications/b5a6c7d8-1234-5678-9abc-def012345678

Example Response

{
  "data": {
    "id": "b5a6c7d8-1234-5678-9abc-def012345678",
    "type": "application",
    "attributes": {
      "stage": {
        "id": "f1e2d3c4-...",
        "label": "Submitted"
      },
      "advisor": {
        "id": "e5f6g7h8-...",
        "name": "Mike Johnson"
      },
      "client": {
        "id": "d290f1ee-...",
        "businessName": "Acme Corp",
        "contactFirstName": "Jane",
        "contactLastName": "Doe"
      },
      "account": {
        "id": "a1b2c3d4-...",
        "name": "Acme Corp"
      },
      "requestedAmount": "250000",
      "submissionCount": 3,
      "offerCount": 1,
      "createdAt": "2025-01-15T10:30:00Z",
      "updatedAt": "2025-01-16T09:15:00Z"
    }
  },
  "meta": {
    "requestId": "550e8400-e29b-41d4-a716-446655440000"
  }
}

Errors

StatusCodeDescription
403FORBIDDENAPI key lacks read permission
404NOT_FOUNDApplication not found

Webhook Events

EventDescription
application.submittedApplication submitted to a lender
application.approvedLender approved the application
application.declinedLender declined the application

See Webhook Events for payload details.