GETDigiLocker Verification Status
Check whether a user has completed the DigiLocker consent and verification flow.
Poll this endpoint after redirecting the user to the DigiLocker URL. Returns the user's consent status and basic identity details (name, DOB, gender, mobile) once the consent flow is complete. Use reference_id from the Create DigiLocker URL response.
Query parameters
| Field | Type | Required | Description |
|---|---|---|---|
initiator_id | string | required | Registered mobile number of the API user (see Platform Credentials).e.g. 9962981729 |
reference_id | number | required | Unique identifier received from the Create DigiLocker URL API response.e.g. 12345 |
initiator_idstringRequiredRegistered mobile number of the API user (see Platform Credentials).
example: 9962981729
reference_idnumberRequiredUnique identifier received from the Create DigiLocker URL API response.
example: 12345
Headers
| Field | Type | Required | Description |
|---|---|---|---|
developer_key | string | required | Static API key issued to your account after KYC. |
secret-key | string | required | Dynamic per-request signature: base64(HMAC-SHA256(timestamp, base64(access_key))). |
secret-key-timestamp | string | required | Current time in milliseconds since UNIX epoch, used to compute secret-key. Must match server time. |
content-type | string | required | application/jsone.g. application/json |
developer_keystringRequiredStatic API key issued to your account after KYC.
secret-keystringRequiredDynamic per-request signature: base64(HMAC-SHA256(timestamp, base64(access_key))).
secret-key-timestampstringRequiredCurrent time in milliseconds since UNIX epoch, used to compute secret-key. Must match server time.
content-typestringRequiredapplication/json
example: application/json
Responses
statusnumberPrimary success indicator (0 = success).
messagestringHuman-readable response / error message.
response_status_idnumberGranular status id; see the shared error-codes table.
response_type_idnumberA unique id for every possible response shape (success or error) — useful for client logic branching and analytics.
dataobjectAPI-specific response payload.
user_detailsobjectIdentity details of the individual who completed the DigiLocker consent flow.
namestringFull name of the individual as registered in DigiLocker.
dobstringDate of birth in DD-MM-YYYY format.
genderstringGender of the individual (M / F / T).
eaadhaarstringIndicates whether the individual's e-Aadhaar is available in DigiLocker.
mobilestringMobile number linked to the individual's DigiLocker account.
document_requestedarrayList of document types that were requested in the original session.
document_consentarrayConsent status objects per requested document type. Indicates which documents the user approved for sharing.