LendWorks Developer Docs
One SDK, one API key — programmatic access to every arm of the LendWorks platform.
Build on the LendWorks platform. One SDK gives you typed access to lending operations, lender submission intake, borrower portals, directory search, AI underwriting, and education content.
Quick Start
npm install @lendworks/lwjsimport { LW } from '@lendworks/lwjs'
const lw = new LW({
apiKey: 'lw_live_...', // platform key — scoped to the arms you need
lendiqApiKey: 'liq_live_...', // optional — enables lw.lendiq.*
})
// Submit a deal to a lender's Gateway inbox
const deal = await lw.gateway.submissions.create('quickfund-capital', {
businessName: 'Acme Corp',
amountRequested: 150000,
state: 'CA',
})
// Search the TrustMark directory
const lenders = await lw.trustmark.entities.search({ query: 'QuickFund' })
// Browse ClearPath courses
const courses = await lw.clearpath.courses.list({ track: 'lender' })
// AI underwriting via LendIQ
const result = await lw.lendiq.deals.quickStart({
business_name: 'Acme Trucking',
document_url: 'https://example.com/statement.pdf',
})Platform Arms
Gateway
Lender submission intake. Submit deals via API, email, or portal. Manage products, webhooks, and inbox. Use when: you're building a broker integration that sends deals to lenders programmatically.
Broker API
Full CRM access — leads, applications, submissions, offers, funded deals, commissions, analytics, and automations. Use when: you're building internal tooling or marketplace apps for a brokerage.
Connect
Borrower portal API. Manage applications, upload documents, accept offers on behalf of borrowers. Use when: you're building a borrower-facing funding experience.
TrustMark
Lender and broker directory. Search entities, view profiles, read reviews. Use when: you're building a directory, comparison tool, or embedding trust signals.
ClearPath
Education platform. Browse courses, view content, track certifications. Use when: you're integrating learning content for brokers, lenders, or partners.
LendIQ
AI-powered underwriting. Upload bank statements, get health scores, risk decisions, and advance recommendations in seconds. Use when: you're automating underwriting or building a decisioning pipeline.
Developer Platform
Build marketplace apps with OAuth, webhooks, data store, and sandboxed testing.
Authentication
All endpoints require a platform API key passed as a Bearer token:
Authorization: Bearer lw_live_a1b2c3d4_...Platform keys are scoped to specific arms and permissions using the {arm}:{resource}:{action} format. Create keys from your developer dashboard.
API Reference
Explore all endpoints interactively: API Reference
Download the OpenAPI spec: openapi.json
Resources
- Error Handling — Error codes and troubleshooting
- Rate Limits — Per-key rate limiting tiers
- Webhooks — Real-time event notifications
- SDKs — Node.js SDK and webhook verification