The Kansas Driver License Validation Service allows developers to programmatically validate the status, restrictions, endorsements, and designations of Kansas driver licenses. By providing a valid Kansas driver license number, users can obtain a response that includes details such as the license status, expiration date, any restrictions or endorsements, and designations associated with the license.

This service is essential for verifying driver credentials and ensuring compliance with state regulations.

Parameters

Name Type ¿Required? Description Example
documentNumber String True Document number of the person to be queried. K12345678
dateOfBirth String True The birthdate of the license holder (format: DD/MM/YYYY). 29/1/1974
firstName String True Name of the license holder. MATEO
lastName String True Last name of the license holder. VERIFIK

Implementation

Request

import axios from 'axios';

const options = {
  method: 'GET',
  url: '<https://api.verifik.co/v2/usa/kansas/driver-license>',
  params: {
    documentNumber: 'K12345678',
    dateOfBirth: '29/01/1974',
    firstName: 'MATEO',
    lastName: 'VERIFIK'
  },
  headers: {
    Accept: 'application/json',
    Authorization: 'jwt <tu_token>'
  }
};

try {
 notFou const { data } = await axios.request(options);
  console.log(data);
} catch (error) {
  console.error(error);
}

Response 200 - (Successful response)

{
  "data": {
    "cdlStatus": "",
    "currentCredentialInformation": [
      {
        "credentialType": "Driver's License",
        "issueDate": "03/04/2020",
        "expirationDate": "01/29/2026"
      }
    ],
    "dateOfBirth": "29/1/1974",
    "dlNumber": "K02884565",
    "dlStatus": "Valid",
    "documentNumber": "K12345678",
    "firstName": "MATEO",
    "lastName": "VERIFIK"
    "systemGeneratedDl": "N"
  },
  "signature": {
    "dateTime": "January 19, 2024 4:36 PM",
    "message": "Certified by Verifik.co"
  },
  "id": "1Q8UH"
}

Other responses

Code Description Response Body
404 Not Found Information not found.
{
"code": "NotFound",
"message": "Record not found.",
"signature": {
"dateTime": "August 31, 2022 3:24 PM",
"message": "Certified by Verifik.co"
}
}
409 Conflict Some parameters are missing.

| { "code": "MissingParameter", "message": "missing documentNumber\n. missing dateOfBirth\n. missing firstName\n. missing lastName\n" } | | 409 | Conflict | Invalid date format. | { "code": "MissingParameter", "message": "dateOfBirth format required: DD/MM/YYYY\n" } |