Sending a document image to be identified - Base URL: api.vlenseg.com/v1
General Input For Any Request
POSThttps://api.vlenseg.com/v1/<endpoint_path>
Headers
Name
Type
Description
Content-Type*
string
application/json
ApiKey*
string
API Key
Request Body
Name
Type
Description
image*
string
The base 64 encoding of the document image
transaction_id
GUID
The transaction Id. Required if this image belongs to an existing transaction. If null then a new transaction Id will be generated and returned in the response to be used in subsequent requests for the same transaction.
client_transaction_id
string
Any client generated Id that is recognized and used by the client. It will be returned in the response as is.
{
"data": <Data model according to each model described below>,
"Services": {
"Validations": {
"validation_errors": [
{
"field": <string>,
"value": <string>,
"errors": [
{
"code": <int>,
"message": <string>
}
]
}
]
},
"spoofing": {
"fake": <bool>
},
"classification": {
"doc_type": <string>
}
}
},
"error_code": <int>,
"error_message": <string>
}
{
"data": {
"results":[
{
"data": <Data model according to each model described below>,
"Services": <Same services object returned with each result>
},
.
.
],
"transaction_id": <GUID>,
"client_transaction_id": <string>,
"request_id": <GUID>
},
.
.
.
}
General OCR
Sends any image containing any general text to be recognized and extracted