Downloading verified documents with information

When an applicant has been verified, you can download and retrieve the document images.

Once an applicant has finished processing, you can use this endpoint to download the verified documents and images that were submitted by the applicant.

Document images are provided in base64 encoded format.

NOTE: A Driver's License will appears as only 1 set of document details, but will include both sides as uploaded images.

NOTE: The Liveness Evidence is not available from this endpoint.


Download verified documents information

POST /api-document-download-information

Once the applicant has finished processing, you can download their verified document images.

Name
Value

Content-Type

multipart/form-data

Authorization

Bearer YOUR_TOKEN

Body

Name
Type
Description

applicantId

string

Unique applicantId generated on applicant creation (required)

Request

curl --location 'https://enterprise.personr.co/api/1.1/wf/api-document-download' \
--form 'applicantId="4242424242424x424242424242424242"'

Response

{
  "status": "success",
  "response": {
    "IdDocType": [
      "DRIVERS",
      "PASSPORT"
    ],
    "docExpiries": [
      "DRIVERS",
      "PASSPORT"
    ],
    "docNumbers": [
      "DRIVERS",
      "PASSPORT"
    ],
    "base64": [
      "/9j/44AQS...",
      "/9j/45AQS...",
      "/9j/46AQS..."
    ]
  }
}

Last updated

Was this helpful?