post
https://prod.idto.ai/verify/digilocker/fetch_aadhaar
Fetches the user's Aadhaar XML document from DigiLocker and returns it as a file.
| HTTP Status | Code | Reason | Message | Merchant Action |
|---|---|---|---|---|
| 200 | 1004 | DOC_RETRIEVED | Aadhaar retrieved successfully. | Proceed with verification. |
| 200 | 2007 | DOC_NOT_FOUND | Aadhaar not issued. | Offer alternate KYC document. |
| 200 | 2005 | CONSENT_NOT_PROVIDED | User denied Aadhaar access. | Retry/alternate doc. |
| 200 | 2009 | DOC_UNAVAILABLE | Aadhaar temporarily unavailable. | Retry later. |
| 400 | 2010 | SESSION_EXPIRED | DigiLocker session expired. | Restart flow. |
Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…
400Invalid request or missing/invalid reference_key
401Unauthorized - missing/invalid API key or client id
404Reference key not found or document unavailable
500Internal server error
