Skip to main content
POST
/
applications
/
{application_id}
/
documents
/
business
Upload a business document
curl --request POST \
  --url https://api.platform.dakota.xyz/applications/{application_id}/documents/business \
  --header 'Content-Type: application/json' \
  --header 'X-Application-Token: <api-key>' \
  --header 'x-idempotency-key: <x-idempotency-key>' \
  --data '
{
  "type": "articles_of_incorporation",
  "file_type": "pdf",
  "file_content": "JVBERi0xLjQKJeLjz9MKMw==",
  "country": "US",
  "id_number": "<string>",
  "filename": "articles_of_incorporation.pdf"
}
'
{
  "document_id": "1NFHrqBHb3cTfLVkFSGmHZqdDPi"
}

Authorizations

X-Application-Token
string
header
required

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.

Headers

x-idempotency-key
string<uuid>
required

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.

Path Parameters

application_id
string
required

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.

Required string length: 27
Example:

"1NFHrqBHb3cTfLVkFSGmHZqdDPi"

Body

application/json

Request to upload a business document

type
enum<string>
required

Type of business document

Available options:
cert_of_incorporation,
articles_of_incorporation,
certificate_of_good_standing,
corporate_registry_extract,
shareholder_registry,
bank_reference_letter,
operating_agreement,
memorandum,
articles_of_association,
proof_of_address,
bank_statement,
utility_bill,
source_of_funds,
crypto_statement,
investment_statement,
subscription_agreement,
safe_agreement,
convertible_note,
loan_agreement,
promissory_note,
pitch_deck,
marketing_material,
business_plan
Example:

"articles_of_incorporation"

file_type
enum<string>
required

Supported file type

Available options:
pdf,
jpeg,
png
Example:

"pdf"

file_content
string<byte>
required

Base64-encoded file content. Maximum size after decoding is 10MB.

Example:

"JVBERi0xLjQKJeLjz9MKMw=="

country
string
required

ISO 3166-1 alpha-2 country code for the document

Required string length: 2
Example:

"US"

id_number
string

REQUIRED for formation documents (articles_of_incorporation, certificate_of_incorporation, etc). The registration or identification number on the document. Not required for other business documents.

Required string length: 3 - 50
filename
string

Optional original filename. Will be sanitized for safe storage and display.

Maximum string length: 100
Example:

"articles_of_incorporation.pdf"

Response

Document uploaded successfully

Response after successfully uploading a document

document_id
string
required

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.

Required string length: 27
Example:

"1NFHrqBHb3cTfLVkFSGmHZqdDPi"