Upload a standalone document
Upload a document outside the context of a capture session. Optionally attach it to an existing session or identity. The document is stored and available for classification, extraction, and verification via the sub-resource action endpoints.
Required scope: documents:write
Authentication
Organization API key. Keys are prefixed with vk_live_ (production) or
vk_sandbox_ (sandbox).
Headers
API version date string (e.g. 2026-02-01). If omitted, the version
pinned to your API key is used.
Request
The document image file (JPEG, PNG, WebP, or PDF). Max 10 MB.
Optional document classification (e.g. passport, drivers_license).
Response
Document ID (doc_*).
Detected or assigned document classification (e.g. passport, drivers_license).
Number of pages (for multi-page documents).
Arbitrary key-value metadata.
How the document was uploaded (api, capture, dashboard).
HMAC-signed download URL (when available).