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. |
| 404 | 2007 | DOC_NOT_FOUND | Aadhaar is not linked in this user's DigiLocker account. | Offer alternate KYC document. |
| 403 | 2005 | CONSENT_NOT_PROVIDED | User did not consent to share Aadhaar, or the Aadhaar document is not present in DigiLocker. | Retry/alternate doc. |
| 500 | 2009 | DOC_UNAVAILABLE | We could not fetch the Aadhaar document from DigiLocker right now. Retry the request or offer an alternate KYC document. | Retry later. |
| 410 | - | REFERENCE_KEY_EXPIRED | Reference key 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
