/v1/ocr/jobs
Create an OCR job from an uploaded document.
| Parameter | Details |
|---|---|
| file | multipart |
| document_type | national_id|receipt|statement |
Documentation
Endpoint reference for OCR API. Base URL:
https://api.lestertechlabs.com
Quick request
curl -sS https://api.lestertechlabs.com/v1/ocr/jobs \
-H "Authorization: Bearer $LESTER_API_KEY" \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
-X POST
POST /v1/ocr/jobs
202 Accepted
{{ body|default:"{
\"status\": \"success\",
\"data\": { ... }
}" }}
Reference
/v1/ocr/jobs
Create an OCR job from an uploaded document.
| Parameter | Details |
|---|---|
| file | multipart |
| document_type | national_id|receipt|statement |
/v1/ocr/jobs/{id}
Poll OCR job status and results.
| Parameter | Details |
|---|---|
| id | job id |
/v1/ocr/document-types
List supported document types.
Request access or talk to us about rate limits, webhooks, and production readiness.
Next step
Start your project