Skip to main content

UAE Visa Extraction

Extracts ID number, file number, place of issue, passport number, name, profession, sponsor, issue date and expiry date from a UAE visa.

POSThttps://sandbox/pcs/UAEVisa

Content-Type: application/json

Headers​

HeaderTypeRequiredDescription
keystringYesAPI key issued for authentication.

Request body​

FieldTypeRequiredDescription
recordIdstringYesUnique ID you assign to correlate the request with the response.
imagestringYesBase64 string / data URI of the UAE visa image.

Example​

POST/pcs/UAEVisa
curl --location 'https://sandbox/pcs/UAEVisa' \
--header 'key: <your-api-key>' \
--header 'Content-Type: application/json' \
--data '{
  "recordId": "1",
  "image": "data:image/png;base64,<BASE64_STRING>"
}'
200
{
"recordId": "1",
"dataRetrievalStatus": "SUCCESS",
"data": {
  "idNumber": "787878789000000",
  "fileNo": "123/1234/1/123456",
  "placeOfIssue": "place-string",
  "passportNumber": "AB1234567",
  "name": "name-string",
  "profession": "CARPENTER",
  "sponsor": "SPONSOR-STRING",
  "issueDate": "12/06/2024",
  "expiryDate": "08/06/2026"
},
"utc_time_stamp": "06/08/2024, 05:57:16"
}

Response​

FieldTypeDescription
recordIdstringEchoes the recordId sent in the request.
dataRetrievalStatusstringSUCCESS when data was extracted.
data.idNumberstringVisa file / ID number.
data.fileNostringImmigration file number.
data.placeOfIssuestringPlace the visa was issued.
data.passportNumberstringHolder's passport number.
data.namestringHolder's name.
data.professionstringHolder's declared profession.
data.sponsorstringSponsoring company or individual.
data.issueDatestringIssue date, DD/MM/YYYY.
data.expiryDatestringExpiry date, DD/MM/YYYY.
utc_time_stampstringUTC timestamp of the response, DD/MM/YYYY, HH:mm:ss.

Error handling​

200 on success, 422 on a validation error — see Error handling for the common error shape.