Uploads a document for an individual using base64-encoded content. Supports identity documents (passport, driver’s license, etc.) and EDD documents. For files larger than 10MB, use the presigned URL endpoint instead.
Authentication: Accepts Application Token (X-Application-Token header).
Application-specific token for public URL access. Generated when a customer is created. Provides access to a single application without requiring an API key. Token is valid for 30 days and rate-limited to 100 requests per hour.
Unique key to ensure request idempotency. If the same key is used within a certain time window, the original response will be returned instead of executing the request again.
The unique identifier for the application KSUID is a 27-character globally unique ID that combines a timestamp with a random component. Used for all entity identifiers in the Dakota platform.
27"1NFHrqBHb3cTfLVkFSGmHZqdDPi"
The unique identifier for the individual KSUID is a 27-character globally unique ID that combines a timestamp with a random component. Used for all entity identifiers in the Dakota platform.
27"1NFHrqBHb3cTfLVkFSGmHZqdDPi"
Request to upload a document for an individual (identity or EDD document). For identity documents (passport, drivers_license_front, drivers_license_back, residence_permit_front, residence_permit_back), id_number is required.
Type of document that can be uploaded for individuals (identity documents + EDD documents)
passport, drivers_license_front, drivers_license_back, residence_permit_front, residence_permit_back, proof_of_address, bank_statement, utility_bill, source_of_wealth, payslip, employment_contract, income_verification_letter, savings_statement, crypto_statement, investment_statement "passport"
Supported file type
pdf, jpeg, png "pdf"
Base64-encoded file content. Maximum size after decoding is 10MB.
"JVBERi0xLjQKJeLjz9MKMw=="
ISO 3166-1 alpha-2 country code of the issuing country. Required for identity documents, not required for EDD documents.
2"US"
REQUIRED for identity documents (passport, driver's license, residence permit). The ID number on the document (e.g., passport number, driver's license number). Not required for EDD documents like bank statements.
"AB1234567"
Optional original filename. Will be sanitized for safe storage and display.
100"passport_front.jpg"
Optional expiration date of the identity document in YYYY-MM-DD format
"2027-04-20"
Document uploaded successfully
Response after successfully uploading a document
KSUID is a 27-character globally unique ID that combines a timestamp with a random component. Used for all entity identifiers in the Dakota platform.
27"1NFHrqBHb3cTfLVkFSGmHZqdDPi"