Feature
API Integration
A single REST API with per-tenant keys, quotas, rate limits and webhooks.
What is API Integration in Mahad OCR?
Available now. Everything the dashboard does is available over the API. Input: HTTPS requests with your X-MahadDoc-API-Key header. Limitation: Official SDK packages are not published yet — use plain HTTP from any language.
What it does
Everything the dashboard does is available over the API. Keys are created in your dashboard, shown once, and stored only as hashes on our side.
How it works
- 1Create an API key in the dashboard
- 2Upload a document
- 3Poll for the result or receive a webhook
- 4Track usage against your quota
Sample result
Illustrative response shape using synthetic data.
curl -X POST https://api.mahadocr.com/v1/documents/upload \
-H "X-MahadDoc-API-Key: mk_live_xxx" \
-F "[email protected]"Supported inputs
HTTPS requests with your X-MahadDoc-API-Key header.
Fields returned
- document id and status
- extracted fields and values
- usage and quota counters
API
Full reference at api.mahadocr.com/docs
Security & privacy
Keys are SHA-256 hashed at rest and can be disabled instantly. Every call is metered per tenant.
Current limitations
Official SDK packages are not published yet — use plain HTTP from any language. Sandbox is limited to the free on-server engines.
Related document types
Try it on your own document
Run the live demo, or create an account and get an API key.