Upload Document and Metadata

Use this endpoint to upload a document and associated metadata

Body Params
string
required

Document metadata with the DocumentRequest schema. Handled as a formData string rather than the typical
body reference due to the limitations of OpenAPI spec v2.

Example:
{
"clientDocumentId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"account": "myaccountnumber",
"documentType": "DRIVERS_LICENSE",
"description": "my optional description",
"documentSide": "FRONT",
"clientOwnerId": "3fa87f64-5717-4562-b3fc-2c963f66afa6",
"issueCountry": "USA",
"documentExpiration": "2023-10-04T16:34:29.446Z"
}

file
required

Document file to upload. The Content-Type header for this formData part must be set correctly.

Responses

Language
Credentials
Choose an example:
application/json