Skip to main content
POST
Verify a driving licence (v1)
Send a licence number and the holder’s date of birth. idto checks them with the issuer and returns the holder’s name, address, validity and vehicle classes. This is a v1 endpoint: the response is a flat object, not the v2 envelope, and there is no billed field.
For new integrations use Verify a driving licence. It gives you idempotent retries, a billed flag and one error format. See Migrate from v1.

Environments

Billing

Charged only when the response status is success. Depending on the source enabled for your account, an invalid licence or a licence with no record can come back as status: "success" with error_code IDTO_201 or IDTO_202 and data: null; that call is charged. A charged response carries chargeble and user_consent, both the string "true", spelled exactly as shown. An error response is never charged.
This endpoint has no Idempotency-Key support. A retried call runs again and can be charged twice. Retry only after you have confirmed the first call failed.

Request

How to read the result

  • status: "success" with holder fields: the licence was found. On most accounts the fields are top level: name, date_of_birth, dependent_name, address, pincode, blood_group, document_id, document_type, photo_base64, rto_details, validity.non_transport and validity.transport (issue_date, expiry_date) and vehicle_class_details[] (authority, category).
  • On some accounts the holder details arrive in a data object with a message instead.
  • status: "success" with error_code set and data: null: IDTO_201 means the licence number is invalid, IDTO_202 means no record. Both are charged.
  • Otherwise a licence that is not found is a non-2xx error and is not charged.
More than one licence source can serve this endpoint. Only status, tranx_id and timestamp are present whichever source answered. Read every other key defensively.

Errors

Every wrapped detail object also carries tranx_id and timestamp.

Test scenarios

Questions about this product are answered in the Driving Licence and Vehicle FAQ. Was this page helpful? Email us at tech@idto.ai with the page link.

Authorizations

X-Client-ID
string
header
default:<client-id>
required

The Client ID shown on the API Credentials page of the idto dashboard. It is not your account or customer ID, which returns 401. Send it on every server-to-server request together with X-API-Key. Staging and production client IDs are different.

X-API-Key
string
header
default:<api-key>
required

Your API key from the idto dashboard (API credentials). Keep it on your server; never ship it in a browser or mobile app. Send it on every server-to-server request together with X-Client-ID.

Body

application/json
licence_number
string
required

Driving licence number.

Example:

"KA0120200000001"

dob
string
required

Holder's date of birth.

Example:

"1990-01-01"

user_id
string

Your own reference for the end user.

workflow_session_token
string

Pass only when the call is part of an idto workflow session.

Response

The check completed. Charged when status is success.

status
string
required
tranx_id
string
required

idto transaction id for this call.

timestamp
string
required
name
string
date_of_birth
string
dependent_name
string
address
string
pincode
string
blood_group
string
document_id
string
document_type
string
photo_base64
string
rto_details
object
validity
object
vehicle_class_details
object[]
message
string
error_code
string
data
object
chargeble
enum<string>

Present and "true" only when the call was charged.

Available options:
true

Present and "true" only when the call was charged.

Available options:
true
Last modified on December 1, 2026