Sign in to grab your API key — or create a free account. Sign In Get Started

Driving License PDF

General
POST /api/v1/driving-license/pdf Bearer

Driving License PDF API — Turn an Indian driving licence number and date of birth into a printable driving licence document. Send the licence number and receive a pdf_url pointing at a ready-to-print government smart-card / A4 PDF of the licence, laid out as the physical card and carrying the holder photograph, name, parent or spouse name, date of birth, blood group, address, issue and expiry dates, the authorisation to drive with each vehicle class and its date of issue, the issuing authority, the state licence face and a scannable QR record. The response is the document link only — this endpoint sells the licence document, not the fields. If you need the licence data as JSON to read programmatically, use the Driving License Verification endpoint; if you need both in one call, use Driving License Text and PDF. pdf_url is an empty string in the rare case where a document could not be produced, so check it before following the link. Generated documents stay downloadable for a limited time — fetch and store the file promptly rather than holding the link. Built for driver onboarding, KYC and branch verification, insurance and claims files, and any workflow that needs a printable licence.

Availability

🗺 Country-specific

India

Quick Start

1. Copy your API key from Dashboard → API Keys
2. Send a POST request to /api/v1/driving-license/pdf
3. Pass the key as Authorization: Bearer <key>
4. Read the result from the data object in the JSON response

cURL

curl -X POST https://app.way2api.com/api/v1/driving-license/pdf \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"dl_number":"MH0320140001234","dob":"15/06/1992"}'
🚀 Send Request
✓ Key saved

🔑 Remember API Key

One-click convenience for testing & troubleshooting — no account needed.

1

What it doesSaves your API key in this browser only using localStorage. Next time you open a docs page, the Try It panel is pre-filled automatically.

2

Auto-updatesIf you type a different key into any Try It field, the saved key is replaced instantly — only the most recent key is ever stored.

3

Uncheck to forgetUnchecking “Remember API Key” immediately deletes the stored key and clears the field. While unchecked, nothing is saved even if you type a new key.

4

Re-check to save againChecking the box again saves whatever key is currently in the Try It field.

⚠ Security note: Your key is stored only in your browser and is never sent to any server except as part of the actual API call you send. Do not use this feature on shared or public computers.