Skip to main content
POST
https://api-gw.verolabs.co/api/v2/chat
/
api
/
id-card
Parse ID card images during signup
curl --request POST \
  --url https://api-gw.verolabs.co/api/v2/chat/api/id-card \
  --header 'Content-Type: application/json' \
  --data '
{
  "frontImage": "aSDinaTvuI8gbWludGxpZnk=",
  "backImage": "aSDinaTvuI8gbWludGxpZnk=",
  "portraitImage": "aSDinaTvuI8gbWludGxpZnk="
}
'
{
  "data": {
    "idNumber": "<string>",
    "fullName": "<string>",
    "dateOfBirth": "31/12/1990",
    "sex": "Nam",
    "nationality": "Viet Nam",
    "placeOfOrigin": "<string>",
    "placeOfResidence": "<string>",
    "dateOfExpiry": "31/12/2030",
    "dateOfIssue": "01/01/2020",
    "issuedBy": "<string>",
    "address": "<string>"
  },
  "imageUrls": {
    "front": "<string>",
    "back": "<string>",
    "portrait": "<string>"
  }
}

Documentation Index

Fetch the complete documentation index at: https://docs.oms.verolabs.co/llms.txt

Use this file to discover all available pages before exploring further.

Body

application/json

Base64-encoded ID-card images captured or uploaded in the signup flow. frontImage is required; backImage and portraitImage are optional.

Request payload for submitting ID-card images during signup.

frontImage
string<byte>
required

Base64-encoded image content for the front side of the ID card. Send only the base64 payload, not the data URL prefix.

backImage
string<byte>

Optional base64-encoded image content for the back side of the ID card. Send only the base64 payload when the back image is available.

portraitImage
string<byte>

Optional base64-encoded portrait or selfie image captured during signup.

Response

Parsed ID-card data and optional processed image URLs.

Successful response from the ID-card parsing API.

data
object
required

Parsed identity fields extracted from the submitted ID-card images.

imageUrls
object

Stored or normalized image URLs returned when available.