Downloading verified documents

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 document and selfie images that were submitted by the applicant.

Document images are provided in base64 encoded format.


Download verified documents

POST /api-document-download

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

NameValue

Content-Type

multipart/form-data

Authorization

Bearer YOUR_TOKEN

Body

NameTypeDescription

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",
      "DRIVERS",
      "SELFIE"
    ],
    "base64": [
      "/9j/44AQS...",
      "/9j/45AQS...",
      "/9j/49AQS..."
    ]
  }
}

Last updated