API Reference/Documentation
GitHubDashboard
Platform

Files

Upload files, generate presigned URLs for secure access, version documents, and run e-signature workflows. Integrates with S3/Blob storage.

Upload & retrieve

Direct upload and presigned URLs

Versioning

Document version history

E-signature

Initiate and track e-signatures

Upload

Form Fields

ParameterTypeDescription
filereq
fileFile to upload
entityType
stringlead, opportunity, etc.
entityId
stringEntity ID

Multipart form-data upload. Use presigned URLs for large files.

Request
HTTP
http
POST https://api.leadron.io/v1/files/upload
X-API-Key: ldr_live_sk_a1b2c3d4e5f6g7h8i9j0
Content-Type: multipart/form-data
Response201Created
201 Response
json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
{
  "success": true,
  "status": 201,
  "message": "Resource created successfully",
  "data": {
    "id": "file_001",
    "filename": "contract.pdf",
    "contentType": "application/pdf",
    "size": 102400,
    "entityType": "lead",
    "entityId": "6789abcdef012345",
    "createdAt": "2026-02-08T14:30:00.000Z"
  },
  "meta": {
    "timestamp": "2026-02-08T14:30:00.000Z",
    "version": "v1"
  }
}

Presigned URLs

Metadata & Versions

E-Signature

OCR

Retrieve & Delete

Sign Webhook