Driving License Verification
Embrace seamless driving license verification with the Driving License Verification API, a powerful tool that accurately validates driving license numbers and promptly returns the associated details. This robust API streamlines customer onboarding, enhances compliance, and minimizes identity fraud risks, empowering businesses to operate with confidence and efficiency.
get_bearer_token
The "Get Bearer Token" API enables authentication by sending a POST request with username and password, securing access through a generated bearer token for subsequent authorized requests.
Method: POST
URL : https://prod.crimescan.ai/v1/verifyApi/signIn
Function: generate bearer token
Parameters : username, password
Output Type : JSON
Example:
curl --location --request POST
'
https://prod.crimescan.ai/v1/verifyApi/signIn'
\
--header 'Content-Type: application/x-www-form-urlencoded' \
--data-urlencode 'username=dummy' \
--data-urlencode 'password=dummy_12345'
Response:
If success-
{
"statusCode": 200,
"statusMsg": "Success",
"user": "dummy",
"apiKeyExpirationTime": "After every 86400 seconds (24 hours)",
"apiKey": "eyJXXXX"
}
If unsuccessfull-
{
"statusCode": 401,
"statusMsg": "Failed",
"msg": "Unauthorized access!"
}
HTTP Status Codes:
POST/users/signin
This API facilitates the assessment of cybercrime involvement for UPI IDs, bank accounts, mobile numbers, and vehicle details
Verify Driving Licence Number
The "Verify Driving Licence Number" API enables authentication by sending a POST request with username and password, securing access through a generated bearer token for subsequent authorized requests.
Method: POST
URL : https://prod.crimescan.ai/v1/verifyApi/verify
Function: Verify Driving Licence Number
Parameters : type,username, drivingLicense, dob
Output Type : JSON
Example:
curl --location --request POST \
'
https://prod.crimescan.ai/v1/verifyApi/verify \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer eyXXX' \
--data-raw '{
"type": 3,
"username": "XXX",
"drivingLicense": "XXXX",
"dob":“YYYY-mm-dd”
}'
Response:
If success-
If api key has been expired-
{
"statusCode": 401
"statusMsg": "Failed",
"msg": "Unauthorized access!"
}
If username is missing:
If username is invalid:
If driving license is invalid:
If driving license is missing:
HTTP Status Codes:
POSTverify
This API facilitates the assessment of cybercrime involvement for UPI IDs, bank accounts, mobile numbers, and vehicle details