Integration Examples
Copy-pasteable integration examples in multiple languages. Pick your stack, grab the code, and start scanning South African documents in minutes.
curl https://jongaocr.co.za/api/v1/healthcurl -X POST https://jongaocr.co.za/api/v1/ocr/sa-id-smart-front \
-H "Authorization: Bearer jonga_YOUR_TOKEN" \
-F "image=@./id-front.jpg"curl -X POST https://jongaocr.co.za/api/v1/ocr/sa-id-smart-front \
-H "Authorization: Bearer jonga_YOUR_TOKEN" \
-H "Content-Type: application/json" \
-d '{"image": "BASE64_ENCODED_IMAGE", "mediaType": "image/jpeg"}'curl -X POST https://jongaocr.co.za/api/v1/ocr/passport \
-H "Authorization: Bearer jonga_YOUR_TOKEN" \
-F "image=@./passport.jpg"curl -X POST https://jongaocr.co.za/api/v1/ocr/sa-drivers-front \
-H "Authorization: Bearer jonga_YOUR_TOKEN" \
-F "image=@./drivers-front.jpg"curl https://jongaocr.co.za/api/v1/tokens/me \
-H "Authorization: Bearer jonga_YOUR_TOKEN"Postman Collection
Jonga OCR Postman Collection
Import this collection into Postman to test all OCR endpoints. Includes pre-configured variables for base URL and your API token. Create the token from /dashboard/tokens first.