Upload single file by URL
Authentication
API key authentication for programmatic access. Used by server-to-server integrations and API clients.
Access token authentication for web users. Used by browser-based applications and authenticated user sessions.
Request
Single file URL to download and process.
Important: Only HTTPS URLs are allowed for security reasons. The file will be downloaded from this URL and processed as a single document without splitting.
Allowed formats:
- Images: .jpeg, .jpg, .png, .tiff
- PDFs: .pdf
Metadata and configuration for the single file being uploaded.
Single-File Context: All metadata in this field applies to the one file being uploaded. This is the simplest upload pattern - no dual-level metadata structure needed.
Available Settings:
- company: Company ID for this file
- type: Document type (e.g., ‘invoice’, ‘receipt’)
- data: Processing data for this file
- clientData: Client metadata for this file
Response
File queued for download and processing with pre-assigned DocumentId
Pre-assigned Document ID. DEPRECATED: This field will be removed. Instead, use webhooks to receive processing notifications, then retrieve documentIds from the file details endpoint.