📚 Documentation

Developer Documentation

Everything you need to integrate LoanDocs.ai into your applications. APIs, SDKs, guides, and examples.

Quick Start Guide

Get started with LoanDocs.ai API in 4 simple steps

1
Get API Key

Sign up and get your API key from the dashboard

curl -X GET 'https://api.loandocs.ai/auth/me' \
  -H 'Authorization: Bearer YOUR_API_KEY'
2
Upload Document

Upload your document to our secure servers

curl -X POST 'https://api.loandocs.ai/upload' \
  -H 'Authorization: Bearer YOUR_API_KEY' \
  -F 'file=@document.pdf'
3
Start Conversion

Convert your document to the desired format

curl -X POST 'https://api.loandocs.ai/convert' \
  -H 'Authorization: Bearer YOUR_API_KEY' \
  -d '{ "fileId": "file_123", "format": "docx" }'
4
Download Result

Get your converted document

curl -X GET 'https://api.loandocs.ai/download/file_123' \
  -H 'Authorization: Bearer YOUR_API_KEY' \
  -o converted.docx

Documentation Sections

Comprehensive guides and references for all features

Code Examples

Ready-to-use code snippets in popular languages

JavaScript / Node.js
const LoanDocs = require('@loandocs/js-sdk');

const client = new LoanDocs('your-api-key');

async function convertDocument() {
  const upload = await client.upload('./document.pdf');
  const conversion = await client.convert(upload.id, 'docx');
  const result = await client.download(conversion.id);
  return result;
}
Python
import loandocs

client = loandocs.Client('your-api-key')

def convert_document():
    upload = client.upload('./document.pdf')
    conversion = client.convert(upload.id, 'docx')
    result = client.download(conversion.id)
    return result
PHP
<?php
use LoanDocs\Client;

$client = new Client('your-api-key');

function convertDocument() {
    $upload = $client->upload('./document.pdf');
    $conversion = $client->convert($upload->id, 'docx');
    $result = $client->download($conversion->id);
    return $result;
}
cURL
# Upload document
curl -X POST 'https://api.loandocs.ai/upload' \
  -H 'Authorization: Bearer YOUR_API_KEY' \
  -F 'file=@document.pdf'

# Convert document
curl -X POST 'https://api.loandocs.ai/convert' \
  -H 'Authorization: Bearer YOUR_API_KEY' \
  -d '{"fileId": "file_123", "format": "docx"}'

Need help with integration?

Our developer support team is here to help you integrate LoanDocs.ai successfully.