Skip to navigation

Create Document Upload Request

Uploads a single Base64-encoded document to S3 and records its metadata on the Onboarding Process.

Unlike its sibling views, this one does NOT call get_and_run_onboarding_step(): there is no “documents” flow step yet, since gating onboarding on document completeness is deferred to a later change. A document can be uploaded at any point in the process.

Authentication

AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Path parameters

external_idstringRequired

Request

This endpoint expects an object.
document_typeenumRequired
Allowed values:
filenamestringRequired
content_typeenumRequired
Allowed values:
datastringRequired

Response

idstringformat: "uuid"
statusstring
consumerobject
kycobject
e_signobject
underwritingobject
productobject
documentsobject
previous_stepslist of objects
current_stepslist of objects or null
metadataobject or null