Upload a document
Uploads a file and creates a document record. The AI classifier determines the canonical document type at review time; the integrator does not declare it. Optional multipart fields: purpose and name (human-readable label). Maximum file size is 10 MB; the request may contain at most 16 multipart fields in total. File type is determined by inspecting the file’s contents — the Content-Type header and filename extension are advisory only.
Authorizations
Body
Document file. Allowed types (validated by inspecting the file's magic bytes, not the filename or Content-Type header): application/pdf, image/jpeg, image/png. Maximum size: 10 MB.
Purpose of the document.
organization_onboarding, kyc, feature_request, transaction_support Human-readable label for the document.
Response
Unique document identifier
^doc_[0-9A-Za-z]{22}$Timestamp when the document was uploaded
"2026-01-15T09:30:00.000Z"
Timestamp when the document was last updated
"2026-01-15T09:30:00.000Z"
Original file name as uploaded
"passport-scan.pdf"
MIME type of the uploaded file
"application/pdf"
Human-readable label for the document
"John Doe Passport"
Canonical document types. Set immediately when the integrator declares a type at upload; updated when the server-side classifier runs.
business_registration, articles_of_incorporation, tax_certificate, operating_license, regulatory_license, shareholders_registry, directors_registry, authorization_to_act, proof_of_address, certificate_of_good_standing, flow_of_funds, audited_financial_statement, bank_statement, org_structure_chart, aml_audit, compliance_policy, institutional_investor_documentation, identity_verification, identity_verification_attestation, bank_verification_letter, invoice, contract, payroll_register, investment_agreement Purpose of the document within the onboarding or KYC flow.
organization_onboarding, kyc, feature_request, transaction_support Size in bytes. Omitted for documents uploaded before size capture was added.
-9007199254740991 <= x <= 9007199254740991