Document Upload

Endpoint to upload a customer's document

To differentiate the document evaluation items, the warningTags include the isDoc key. Example:

{ 
    "tag": "compromised_document", 
    "passed": true, 
    "isDoc": true, 
    "label": "Compromised Document" 
}

Upload a document

POST https://api.waldo.ai/document

All evaluation requests are asynchronous. Therefore, the response to the document check request will not be completed in real time. If you have set up the webhooks, your system will receive notifications automatically. Otherwise, your system can poll Waldo's API until the evaluation is completed.

Headers

Name
Type
Description

Authorization*

String

The token in the format Bearer eyJhbG...

Content-Type*

String

Expected type is multipart/form-data

Request fields

Name
Type
Description
Location

document

binary file

Dcoument scan (.jpg, png, or .pdf) Maximum 10Mb size

Body

side

String

frontor back

Form data

customerId

String

Customer ID

Form data

documentType

String

driving_licence(US only), or passport(worldwide)

Form data

issuingCountry

String

Country code (ISO 3166-1 alpha-3 standard)

Form data

Response

Webhooks complete event notification

Last updated