This service allows you to access the identity documents of an Indian citizen through their Digilocker wallet. This is a consent driven flow which we provide through our partner licence.
You will be able to fetch the following documents in JSON and file format -
- Driving Licence
- We will be adding the functionality to obtain the list of issued documents soon.
There are two types of issued documents (we don't provide any APIs to access uploaded documents as they may not be authentic) -
- Documents available with just access consent
- Documents available with access consent and document parameters
- PAN Number
- Driving licence
- Driving licence number
- Vehicle Registration Certificate
- RC Number
- Chassis Number
Wherever, a document needs additional parameters, we expect those as inputs in the initiate API call.
The flow of information is as follows -
You will have to integrate with 2 endpoints and 1 Webhook (optional) only. You will be notified of the following steps in the flow -
- User dropped off in the consent granting flow
- User denied consent
- User granted consent
- Documents are available
In general we have noticed that users take up to 45 second on average to complete consent granting flow. If you are using the web hook, please the web hook URL with your SPOC for us to whitelist it and configure in our backend.
SessionID is ideally meant to be unique for every Digilocker session i.e. if User A tries to access their digilocker twice, we expect you to provide two different session IDs. Session ID will be necessary to map to subsequent API calls.