Upload document
Uploads a document for this business, such as its articles of incorporation, operating agreement, or EIN letter, as multipart form data. Returns the created document, including its id. Use that id with the document endpoint to retrieve its details, or the download endpoint to download the file.
Authorizations
Enter your API key in the format: sk_test_xxxxx or sk_live_xxxxx
Path Parameters
The ID of the portfolio business to upload the document for.
"987e6543-e21a-45b6-c789-012345678901"
Body
The document file to upload.
All document types that apply to the file, sent as repeated types form fields. The first entry is the primary type. Required unless type is sent.
passport, drivers_license, national_id, government_id, articles_of_incorporation, certificate_of_formation, operating_agreement, bylaws, ein_letter, ein_letter_alternate, business_license, certificate_of_good_standing, certificate_of_authority, bank_statement, tax_return, filing_confirmation, welcome_letter, proof_of_address, service_of_process, notice, mail, ra_change_confirmation, ra_resignation, receipt, other Deprecated: use types. A single document type, equivalent to types with one entry. Not accepted together with types.
passport, drivers_license, national_id, government_id, articles_of_incorporation, certificate_of_formation, operating_agreement, bylaws, ein_letter, ein_letter_alternate, business_license, certificate_of_good_standing, certificate_of_authority, bank_statement, tax_return, filing_confirmation, welcome_letter, proof_of_address, service_of_process, notice, mail, ra_change_confirmation, ra_resignation, receipt, other "articles_of_incorporation"
Additional metadata, sent either as a JSON object string or as repeated metadata[key] form fields.
Response
Document uploaded
Unique identifier for the document. Pass this to the document download endpoints.
"906f369f-a73b-46a2-8184-ccc5c2848abd"
Object type identifier, always "document"
document "document"
Whether this resource is test or live; test and live data are isolated.
test, live "live"
Whether this document belongs to a business or to a person.
user, business "business"
ID of the business or person this document belongs to. Use it to route a document delivered by webhook without a follow-up lookup.
"987e6543-e21a-45b6-c789-012345678901"
The work this document is part of, such as the case it was submitted in response to or the filing it was produced by. References only; empty when the document is not tied to any work.
All document types that apply to this document.
passport, drivers_license, national_id, government_id, articles_of_incorporation, certificate_of_formation, operating_agreement, bylaws, ein_letter, ein_letter_alternate, business_license, certificate_of_good_standing, certificate_of_authority, bank_statement, tax_return, filing_confirmation, welcome_letter, proof_of_address, service_of_process, notice, mail, ra_change_confirmation, ra_resignation, receipt, other Deprecated: use types. The first entry of types.
passport, drivers_license, national_id, government_id, articles_of_incorporation, certificate_of_formation, operating_agreement, bylaws, ein_letter, ein_letter_alternate, business_license, certificate_of_good_standing, certificate_of_authority, bank_statement, tax_return, filing_confirmation, welcome_letter, proof_of_address, service_of_process, notice, mail, ra_change_confirmation, ra_resignation, receipt, other "articles_of_incorporation"
Original filename of the uploaded document
255"articles_of_incorporation.pdf"
Size of the file in bytes
x >= 0524288
MIME type of the file
"application/pdf"
Current status of the document
pending, verified "verified"
ISO 8601 timestamp when the document was uploaded
"2025-10-24T10:30:00Z"
Custom metadata
ISO 8601 timestamp when the document record was created
"2025-10-24T10:30:00Z"
ISO 8601 timestamp when the document record was last updated
"2025-10-24T10:35:00Z"

