curl --request POST \
--url https://test-api.sandbox.co.in/kyc/digilocker/user/verify \
--header 'Authorization: <authorization>' \
--header 'Content-Type: application/json' \
--header 'x-api-key: <x-api-key>' \
--data '
{
"@entity": "in.co.sandbox.kyc.digilocker.user.verification.request",
"mobile": "9876543210"
}
'{
"code": 200,
"timestamp": 1751975600361,
"data": {
"@entity": "in.co.sandbox.kyc.digilocker.user.verification.response",
"user_exists": true
},
"transaction_id": "a11c4e00-fae1-4092-a55f-b4f0be92ffeb"
}Check whether a user account exists on DigiLocker using their mobile number or Aadhaar number.
curl --request POST \
--url https://test-api.sandbox.co.in/kyc/digilocker/user/verify \
--header 'Authorization: <authorization>' \
--header 'Content-Type: application/json' \
--header 'x-api-key: <x-api-key>' \
--data '
{
"@entity": "in.co.sandbox.kyc.digilocker.user.verification.request",
"mobile": "9876543210"
}
'{
"code": 200,
"timestamp": 1751975600361,
"data": {
"@entity": "in.co.sandbox.kyc.digilocker.user.verification.response",
"user_exists": true
},
"transaction_id": "a11c4e00-fae1-4092-a55f-b4f0be92ffeb"
}Documentation Index
Fetch the complete documentation index at: https://developer.sandbox.co.in/llms.txt
Use this file to discover all available pages before exploring further.
aadhaar_number or mobile must be provided in the request.JWT access token. For token-generation steps, refer to the Quickstart Guide.
API key used to identify and authenticate the client.
Specifies the API version for the request.
Media type of the request body.
application/json Request payload for Digilocker user verification. At least one of the fields 'aadhaar_number' or 'mobile' must be provided.
Entity identifier that specifies the type of request being made.
in.co.sandbox.kyc.digilocker.user.verification.request 12-digit Aadhaar number without spaces or separators.
^[0-9]{12}$10-digit Indian mobile number without country code.
^[0-9]{10}$HTTP status code.
Unix timestamp (in milliseconds) indicating when the server generated the response.
Response payload containing the requested data or error details.
Show child attributes
Unique identifier for tracking the request across systems.
Was this page helpful?