Driving Licence

Use this API to verify the driving license of your customer. We retrieve details of the driving licence that includes the type of licence, issue date, expiry date, and more.

Response

You get the following key information in the data object of the response:

NameData TypeDescription
dl_numberstringThe unique number assigned to the driving licence.
dobstringThe date of birth of the individual as present in the driving licence.
statusstringWhether the driving licence is valid.
badge_detailsArray of objectsIt contains the details of badges associated with the driving licence. See the table below for details.
dl_validityobjectIt contains the different information regarding the validity of the licence. See the table below for details.
details_of_driving_licenceobjectIt contains the details of the driving licence. See the table below for details.

badge_details

NameData TypeDescription
badge_issue_datestringThe date of the badge issued.
badge_nostringThe number of the badge issued.
class_of_vehiclearray of stringsThe class of the vehicle.

dl_validity

NameData TypeDescription
non_transportobjectIt contains the validity details. It contains to and from date values.
hazardous_valid_tilldateIt displays till when the individual can drive hazardous vehicles.
transportobjectIt contains the validity details. It contains to and from date values.
hill_valid_tilldateIt displays till when the individual can drive the vehicle in hill and mountain regions.

details_of_driving_licence

NameData TypeDescription
date_of_issuedateThe date when the driving license was issued.
date_of_last_transactiondateThe date of the last transaction.
statusstringThe current status of the driving license.
last_transacted_atdateThe date of the last transaction recorded.
namestringThe name of the individual.
father_or_husband_namestringThe father's or husband's name of the individual.
address_listarray of objectsIt contains the list of address information. Each address object contains complete_address, type, and split_address.
addressstring
photostring
cov_detailsarray of objectsThe details of the class of vehicle (COV).
Body Params
string
required

Your registered mobile number (See Platform Credentials for UAT)

string

A unique ID for every API call generated at your end

string
required

The driving licence number of the individual for verification.

string
required

The date of birth of the individual as present in the driving licence. The accepted format is YYYY-MM-DD.

string
required

This is the ekocode of the partner

string
required
Defaults to API

The source from where the request is coming in

Headers
string
required

Your static API key (See Guide)

string
required

Your dynamically generated security key, unique for every request (See Guide)

string
required

The current timestamp used to generate secret-key

Responses

Language
Credentials
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json