Get Document from DigiLocker

Use this API to get your customer's document details from DigiLocker.

Response Codes

Sub CodeStatusMessageNext Action
200SUCCESS--
202SUCCESSValidation in process check after some timeTry again after some time.
400ERRORPlease provide verification_id or reference_idEnter a valid verification_id or reference_id in the request.
400ERRORdocument_type should be AADHAAR.Enter the value for document_type as AADHAAR.
400ERRORDigilocker request URL is expiredCreate a new DigiLocker URL.
400ERRORDigilocker consent session expiredCreate a new DigiLocker consent session.
400ERRORClient secret belongs to test environmentEnter the correct environment credentials in the request.
400ERRORx-client-id is missing in the request.Enter all the header information in the API request.
401ERRORInvalid clientId and clientSecret combinationEnsure you enter valid x-client-id and x-client-secret information in the API request.
403ERRORIP not whitelisted your current ip is 106.51.91.104.For IP whitelisting assistance, visit our guide at https://docs.cashfree.com/docs/ip-whitelisting-verificationWhitelist the IP address.
404ERRORPlease enter a valid verification_idEnter a valid verification ID.
422ERRORInsufficient balance to process this requestTry again with sufficient balance.
500ERRORUnable to process your request. Try again after some timeTry again after some time.
Language
Credentials
URL
Click Try It! to start a request and see the response here!