---
title: Verification API
slug: v2/verification-api
description: Learn how to verify the authenticity of a driver's license using our powerful API. This document guides users through the process, from logging in to making the verification API request. Find sample code examples and a detailed explanation of response par
createdAt: 2022-09-19T07:28:09.000Z
---

# Introduction

This API helps to verify the validity of the DL.

## How to call the API

You will need to [login](https://docs.signzy.com/sandboxapis) before sending the request. You are required to pass the access token received from the login call, as authorization header in the Verification API request.

## API Input Guidelines

Need to provide a valid DL number along with DOB and issue date in dd/mm/yyyy format.

## Sample Curl

:::ApiMethodV2
```json
{
  "tab": "examples",
  "url": "https://preproduction.signzy.tech/api/v2/patrons/drivingLicenceV2",
  "name": "Driving Licence V2 Verification",
  "method": "POST",
  "request": {
    "pathParameters": [],
    "queryParameters": [],
    "headerParameters": [
      {
        "kind": "required",
        "name": "Authorization",
        "type": "string",
        "children": [],
        "description": "Contains the id parameter returned from the login step"
      },
      {
        "kind": "required",
        "name": "content-type",
        "type": "string",
        "children": [],
        "description": "Application/JSON"
      }
    ],
    "bodyDataParameters": [
      {
        "kind": "required",
        "name": "task",
        "type": "string",
        "description": "Task- Verification of DL"
      },
      {
        "kind": "required",
        "name": "essentials",
        "type": "Object",
        "children": [
          {
            "kind": "required",
            "name": "number",
            "type": "string",
            "description": "Put Number as Input"
          },
          {
            "kind": "required",
            "name": "dob",
            "type": "string",
            "description": "Put date of birth as input"
          },
          {
            "kind": "optional",
            "name": "issueDate",
            "type": "string",
            "description": "Put date of issue of the licence"
          }
        ],
        "description": "Contains essentials input data"
      }
    ],
    "formDataParameters": []
  },
  "results": {
    "languages": [
      {
        "id": "1i1ibSVEC4mfVfYDM9vgy",
        "code": "{\n    \"essentials\": {\n        \"number\": \"MH12201300XXXX\",\n        \"dob\": \"21/12/1991\",\n        \"issueDate\": \"28/03/2013\"\n    },\n    \"id\": \"633542f80b9e46d4a0xxx\",\n    \"patronId\": \"6319d81fa341350e797xxx\",\n    \"task\": \"verification\",\n    \"result\": {\n        \"verified\": true,\n        \"message\": \"Driving licence verification process completed successfully with positive result.\",\n        \"moreInfo\": {\n            \"issueDate\": \"Mar 28, 2013\",\n            \"expiryDate\": \"Mar 27, 2033\",\n            \"vehicleClass\": [\n                \"LMV\",\n                \"MCWG\"\n            ]\n        }\n    }\n}",
        "language": "200",
        "customLabel": ""
      }
    ],
    "selectedLanguageId": "1i1ibSVEC4mfVfYDM9vgy"
  },
  "examples": {
    "languages": [
      {
        "id": "vbZ5pzvqBiD01YviQQUyE",
        "code": "curl --location --request POST 'https://preproduction.signzy.tech/api/v2/patrons/drivingLicenceV2' \\\n--header 'Authorization: <token>' \\\n--header 'content-type: application/json' \\\n--data-raw '{\n    \"task\": \"verification\",\n    \"essentials\": {\n        \"number\": \"<Licence Number>\",\n        \"dob\": \"<Date of Birth>\",\n        \"issueDate\": \"<issue date>\"\n    }\n}'",
        "language": "curl",
        "customLabel": "Preproduction"
      },
      {
        "id": "FJNJ_9pOy_TBwn1a3IWzd",
        "code": "curl --location --request POST 'https://signzy.tech/api/v2/patrons/drivingLicenceV2' \\\r\n--header 'Authorization: <token>' \\\r\n--header 'content-type: application/json' \\\r\n--data-raw '{\r\n    \"task\": \"verification\",\r\n    \"essentials\": {\r\n        \"number\": \"<Licence Number>\",\r\n        \"dob\": \"<Date of Birth>\",\r\n        \"issueDate\": \"<issue date>\"\r\n    }\r\n}'",
        "language": "curl",
        "customLabel": "Production"
      }
    ],
    "selectedLanguageId": "FJNJ_9pOy_TBwn1a3IWzd"
  },
  "description": "Verification of Driving Licence ",
  "currentNewParameter": {
    "label": "Body Parameter",
    "value": "bodyDataParameters"
  },
  "autoGeneratedAnchorSlug": "driving-licence-v2-verification",
  "legacyHash": "kzsxLJlM3_38AL6HZGJlX"
}
```
:::

### Response Parameter

| ***Parameter Name&#x20;***   | **Description**                                                          |
| ---------------------------- | ------------------------------------------------------------------------ |
| essentials.                  | Essentials input data                                                    |
| essentials.number            | Driving Licence number                                                   |
| essentials.dob               | Date of birth of the licence holder                                      |
| essentials.issueDate         | Date of issue of licence                                                 |
| id                           | Unique ID of the response                                                |
| patronId                     | PatronID from login call                                                 |
| task                         | Task- Verification of DL                                                 |
| result                       | This object holds the actual result                                      |
| result.verified              | If the DL is sucessfully verified then its value will be true else false |
| result.message               | Result message declaring the result of verification                      |
| result.moreInfo              | This object holds the additional details about the Lisence               |
| result.moreInfo.issueDate    | Date of issue of the driving licence                                     |
| result.moreInfo.expiryDate   | Expiry date of the licence                                               |
| result.moreInfo.vehicleClass | Class of vehicle (LMV,MCWG etc)                                          |

***

:::hint{type="info"}
### Getting help

Please feel free to contact us if you have any questions, require clarification, or have ideas for how to make the documents or any of our services better.


You can reach out to us at [help@signzy.com](mailto\:help@signzy.com).
:::

