Upload evidence
POST /v1/documents accepts multipart form data withfile, subject_id, and document_type. The response is 202 with a document resource.
Content-Type boundary. Do not set Content-Type: application/json for this route.
The upload period records the document’s stated evidence period. It is not the exclusive to filter used by transaction queries. Poll the document’s extraction_status or consume document.processed; acceptance does not establish a completed or verified extraction.
File controls
Document processing validates actual file content, allowed types, malware status, tenant ownership, and permitted purpose. Maximum size, page limits, accepted MIME types, scan timeouts, and residency are environment settings. The PDF above is illustrative and is not a universal file-acceptance promise. Use only authorized evidence. The normalized default response excludes raw biometric media, card PAN/CVV, and provider credentials. Do not place credentials inside uploaded filenames or metadata.Authorized download
Send{"purpose":"credit_assessment"} to POST /v1/documents//download with documents:read and an idempotency key. The response contains data.document_id, data.url, and data.expires_at.
The URL is a temporary capability. Do not make it public, log it, put it in analytics, or persist it as a permanent asset address. Download it only within its authorized context and expiry. Do not attach an AMLOK API key to the signed storage URL.
Use the expiry and storage domain returned by your environment. Upload documents through the documented multipart endpoint.