Create an App Registration Document Validation

POST https://api.verifik.co/v2/document-validations/app-registration

A Document Validation is an instance within Verifik's system that allows you to process and validate identity documents during the app registration process. This process ensures the authenticity of user documents and provides secure verification through various analysis methods.

Headers

Name
Value

Content-Type

application/json

Authorization

Bearer <token>

Body

Name
Type
Description

image

string

The base64 image of the document that will be scanned and analyzed.

backImage

string

The base64 image of the back side of the document that will be scanned and analyzed.

force

boolean

Use force to overwrite values from previous attempts

Minimal Body Data

{
  "image": "base64_encoded_document_image"
}

Full Body Data

{
  "image": "base64_encoded_document_image",
  "backImage": "base64_encoded_back_image",
  "force": true
}

Request

curl -X POST https://api.verifik.co/v2/document-validations/app-registration \
 -H "Authorization: Bearer YOUR_ACCESS_TOKEN" \
 -H "Content-Type: application/json" \
 -d '{
   "image": "base64_encoded_document_image",
   "backImage": "base64_encoded_back_image",
   "force": true
 }'

Response

The response will contain information about the new Document Validation instance. Important fields include the unique identifier _id, the status of the validation process, and document analysis results.

{
  "data": {
    "documentValidation": {
      "_id": "507f1f77bcf86cd799439011",
      "appRegistration": "507f1f77bcf86cd799439012",
      "client": "507f1f77bcf86cd799439013",
      "project": "507f1f77bcf86cd799439014",
      "projectFlow": "507f1f77bcf86cd799439015",
      "documentType": "Passport",
      "documentCategory": "ID",
      "status": "ASSESSING",
      "validationMethod": "OCR",
      "inputMethod": "FILE_UPLOAD",
      "imageValidated": false,
      "namesMatch": false,
      "fullNameMatchPercentage": 0,
      "firstNameMatchPercentage": 0,
      "lastNameMatchPercentage": 0,
      "type": "validation",
      "createdAt": "2025-01-01T00:00:00.000Z",
      "updatedAt": "2025-01-01T00:00:00.000Z"
    }
  }
}

Last updated

Was this helpful?