Quick Start
Start your user onboarding, test Vlens APIs
Get your API key
Your API requests are authenticated using API key. Any request that doesn't include an API key will return an error.
You can contact [email protected] to generate an API key at any time.
Make your first Egyptian ID front OCR request
To make your first request, send an authenticated request to the endpoint.
curl -X 'POST' 'https://api.vlenseg.com/v1/ocr/id/front' \
-H 'Content-Type: application/json' \
-H 'accept: text/plain' \
-H 'ApiKey: ApiKeyValueInPortal' \
-d '{
"image": "base64",
"transaction_id": "transaction-guid",
"client_transaction_id": "client-transaction-id",
"request_id": "request-guid"
}'import requests
url = "https://api.vlenseg.com/v1/ocr/id/front"
headers = {
"Content-Type": "application/json",
"accept": "text/plain",
"ApiKey": "ApiKeyValueInPortal"
}
data = {
"image": "base64",
"transaction_id": "transaction-guid",
"client_transaction_id": "client-transaction-id",
"request_id": "request-guid"
}
response = requests.post(url, headers=headers, json=data)
print(response.text)
Last updated