01
Masking through the API
How an application sends an image and gets the masked copy back.
API keyQueueSingle-use results
- AuthenticateEvery request carries an API key, and the access rules you set are applied to it: key expiry, images per key, requests per client in a time window, file size and resolution caps, and how long uncollected results are kept. Only a one-way hash of each key is stored.
- Send the imageThe service checks the file from its real content (type, size, dimensions, not empty or damaged) before it reaches the engine, and answers at once with a request ID.
- Queue and processRequests wait in a bounded queue and are processed in order. When the queue is full, the caller is told how long to wait instead of the request failing.
- Check the statusThe caller asks for the status of its request and gets its place in line, then the result: masked, no Aadhaar found, or an error with a clear reason.
- Download, onceThe masked image is collected once, with the private token of the request that made it, then deleted from the service.
Good to know
- The free trial runs this same flow, so you can see how your systems would call it and how access rules behave.