Download a document via signed URL

Downloads the raw document file. The expires and sig query parameters are required — use the signed URL returned in the document metadata.

Required scope: documents:read

Authentication

X-API-Keystring

Organization API key. Keys are prefixed with vk_live_ (production) or vk_sandbox_ (sandbox).

Path parameters

document_idstringRequired

Document ID (doc_*).

Query parameters

expiresintegerRequired

URL expiration timestamp (Unix epoch seconds).

sigstringRequired

HMAC-SHA256 signature for URL verification.

Response

Raw document binary.

Errors

401
Unauthorized Error
403
Forbidden Error
404
Not Found Error