> ## Documentation Index
> Fetch the complete documentation index at: https://idto.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Verify a vehicle registration (RC)

> Look up a vehicle registration number and get one fixed set of registration, owner, insurance, tax, permit and fitness fields.

Send a registration number. idto looks it up in the vehicle registry and returns the record: registration and expiry dates, chassis and engine numbers, make and model, owner, insurance, tax, pollution certificate, permit, financer and blacklist details. Use it for fleet onboarding, vehicle loans and insurance underwriting.

Every response has the same shape whichever source serves the call. Branch on `error_code`, never on `status`:

* `error_code: null` with `data`: the registration exists. Billed.
* `error_code: "IDTO_202"` with `data: null`: no registration matches this number. Billed, because the check ran to a definitive answer.
* Any non-2xx response: the check did not complete. Never billed.

## Environments

| Environment | Base URL | Notes |
| - | - | - |
| Production | `https://prod.idto.ai` | Keys from the dashboard after go-live. Billed. |
| Staging | `https://dev.idto.ai` | Keys on request from your idto account manager. Calls reach live sources, so use identities you are authorised to verify. Staging credits are deducted from your staging account. |

## Input rules

| Field | Rule |
| - | - |
| `vehicle_number` | Required, at most 20 characters. Spaces and hyphens are removed and letters are upper-cased, so `KA 01 AB 1234` and `KA-01-AB-1234` are accepted. The result must be 5 to 15 letters or digits. |
| `user_id` | Optional, at most 255 characters. Your own reference for the end user. |
| `workflow_session_token` | Optional. Pass only when the call is part of an idto workflow session. |

## Response fields

Every key under `data` is always present. Text is upper-cased, dates are `YYYY-MM-DD`, and a value the registry does not hold is `null`.

| Field | Meaning |
| - | - |
| `data.reg_no`, `data.reg_date`, `data.reg_authority` | Registration number, date and RTO. |
| `data.rc_status`, `data.status_as_on`, `data.rc_expiry_date` | Registration status, the date the record was read, and validity. |
| `data.chassis`, `data.engine` | Chassis and engine numbers as held by the registry. |
| `data.vehicle_manufacturer_name`, `data.model`, `data.class`, `data.type`, `data.norms_type`, `data.body_type`, `data.vehicle_category`, `data.vehicle_colour`, `data.vehicle_manufacturing_month_year` | Make, model, class, fuel type, emission norm, body, category, colour and month of manufacture. |
| `data.owner`, `data.owner_father_name`, `data.owner_count`, `data.mobile_number` | Ownership details. |
| `data.present_address`, `data.permanent_address` | Owner addresses as single strings. |
| `data.split_present_address`, `data.split_permanent_address` | The same addresses split into parts, when the source provides them. |
| `data.vehicle_insurance_company_name`, `data.vehicle_insurance_policy_number`, `data.vehicle_insurance_upto` | Insurance on record. |
| `data.vehicle_tax_upto`, `data.pucc_number`, `data.pucc_upto` | Road tax and pollution certificate validity. |
| `data.permit_number`, `data.permit_type`, `data.permit_issue_date`, `data.permit_valid_from`, `data.permit_valid_upto`, `data.national_permit_number`, `data.national_permit_upto`, `data.national_permit_issued_by` | Permits for commercial vehicles. |
| `data.vehicle_cubic_capacity`, `data.gross_vehicle_weight`, `data.unladen_weight`, `data.wheelbase`, `data.rc_standard_cap`, `data.vehicle_cylinders_no`, `data.vehicle_seat_capacity`, `data.vehicle_sleeper_capacity`, `data.vehicle_standing_capacity` | Technical details, as numeric strings. |
| `data.rc_financer` | Financer with a hypothecation on the vehicle. |
| `data.is_commercial`, `data.blacklist_status`, `data.blacklist_details`, `data.challan_details`, `data.noc_details`, `data.non_use_status`, `data.non_use_from`, `data.non_use_to` | Commercial flag, blacklist, challan, NOC and non-use information. |
| `data.extras` | `vehicle_number`, `rto_code` and `financed`, filled only where the serving source has the value. |
| `billed` | `true` when this call was charged. |
| `tranx_id` | idto transaction id. Quote it to support. |

## Retries and duplicate protection

Send an `Idempotency-Key` header (at most 255 characters) to make retries safe. Replaying the same key with the same body within 48 hours returns the stored first response without a new check or a new charge. The same key with a different body returns `IDTO_010` (422). A replay while the first call is still running returns `IDTO_004` (409). If the first call returned an error, nothing is stored, so a retry runs the check again.

## Errors

| Code | HTTP | Message | Billed |
| - | - | - | - |
| `IDTO_202` | 200 | No RC record found for the provided vehicle number. | Yes |
| `IDTO_001` | 400 | Invalid input: vehicle\_number is required. Please check and retry. (empty or blank) | No |
| `IDTO_001` | 400 | Invalid input: vehicle\_number is empty after removing spaces and hyphens. Please check and retry. | No |
| `IDTO_001` | 400 | Invalid vehicle number. Please provide a valid RC registration number. | No |
| `IDTO_001` | 422 | Names the field that failed (`vehicle_number` missing, or longer than 20 characters). | No |
| `null` | 400 | Insufficient credits for this operation. (your idto balance is too low; recharge and retry) | No |
| `IDTO_004` | 409 | An identical request is already in progress; retry shortly. (same `Idempotency-Key` still running) | No |
| `IDTO_004` | 409 | Duplicate request. Verification ID already exists. (reported by the source) | No |
| `IDTO_010` | 422 | Idempotency-Key was already used with a different request body. | No |
| `IDTO_006` | 429 | Too many requests. Please wait a moment and retry. | No |
| `IDTO_007` | 500 | Verification could not be completed due to a service configuration issue. Please try again later. | No |
| `IDTO_007` | 500 | Verification could not be completed due to a service configuration issue. Please contact support at [tech@idto.ai](mailto:tech@idto.ai). (a configuration issue found before the source is called) | No |
| `IDTO_008` | 503 | The verification service is facing downtime due to issues from the source. Please try again later. (the source failed) | No |
| `IDTO_008` | 503 | The verification service is facing downtime due to issues from the source. Please drop a mail to [tech@idto.ai](mailto:tech@idto.ai), and try again later. (idto stopped calling a failing source for a short time, or is shedding load) | No |

Fix the input on `IDTO_001`; do not retry it unchanged. Retry `IDTO_004`, `IDTO_006` and `IDTO_008` with backoff. Full taxonomy: [v2 error codes](https://idto.mintlify.site/reference/v2-error-codes.md).

## Test scenarios

| Input | Expected `error_code` | HTTP | Billed |
| - | - | - | - |
| Registration number of a registered vehicle | `null` | 200 | Yes |
| Well-formed number with no registration on record | `IDTO_202` | 200 | Yes |
| `vehicle_number` as `KA 01 AB 1234` | same as `KA01AB1234` | 200 | Yes |
| `vehicle_number` as `KA1` | `IDTO_001` | 400 | No |
| `vehicle_number` as `--` | `IDTO_001` | 400 | No |
| Body without `vehicle_number` | `IDTO_001` | 422 | No |
| Same `Idempotency-Key`, different body | `IDTO_010` | 422 | No |

The older v1 endpoint is documented at [Vehicle RC (v1)](https://idto.mintlify.site/api-reference/driving-vehicle/vehicle-rc-v1.md). Questions: [Driving licence and vehicle FAQ](https://idto.mintlify.site/products/driving-vehicle/faq.md).

***

Was this page helpful? Email us at [tech@idto.ai](mailto:tech@idto.ai?subject=Docs%20feedback%3A%20Verify%20a%20vehicle%20registration%20%28RC%29) with the page link.


## OpenAPI

````yaml openapi2.0.json POST /v2/verify/vehicle_rc
openapi: 3.1.0
info:
  title: idto Verification API
  version: 2.0.0
  description: >-
    idto is an identity and KYC verification platform. This API lets you run
    PAN, Aadhaar, bank account,

    business/GST, vehicle, mobile, employment, credit-bureau, DigiLocker,
    driving-licence, face-match,

    liveness, document-OCR, address and eSign verifications through a single set
    of HTTP endpoints,

    either individually or composed into a workflow on the idto dashboard.


    ## Response envelope (v2)


    Every product under `/v2/verify/*` shares one response contract. A call is
    charged when it finishes with a 2xx

    response whose `status` is `"success"`, unless a verification session
    already pays for that step. A charged

    2xx carries `billed: true`, whether the result is a full match (`error_code:
    null`, `data` populated) or a

    definitive no-record outcome (`error_code` set to an `IDTO_2xx` code, `data:
    null`). Callers distinguish a full

    match from a no-record result by checking `error_code`, never by inspecting
    `status`: there is no `"failed"`

    status anywhere in the v2 API.


    Exceptions to the charge rule: a step that a verification session already
    pays for returns its 2xx with

    `billed: false`; an idempotent replay returns the stored response and is not
    charged again; a v1 `202`

    `IDTO_203` handoff is not charged, and the result is charged once when the
    job completes.


    A raised error (any non-2xx response) from `/v2/verify/*` carries `status:
    "error"`, `message`, `error_code`,

    `data: null`, `billed: false` and the legacy string flags `chargeble:
    "false"` and `user_consent: "false"`.

    `tranx_id` and `timestamp` are set when the failed call was recorded. Raised
    errors are

    never billed; `IDTO_204` (no readable Aadhaar QR found) is an ordinary
    raised 422. Authentication failures (401, 403) use

    the framework shape `{"detail": "..."}` on every endpoint.


    ## v1 vs v2


    `/v2/verify/*` is the current, vendor-agnostic contract described above,
    used for every product that

    has been migrated onto it. `/verify/*` (no `/v2` prefix) remains live for
    products that have not been

    ported yet. Because v1 predates the shared envelope, each v1 product's
    response shape is its own:

    consult that product's schema and examples rather than assuming the v2
    envelope applies. Raised errors on

    v1 use three shapes: `{"detail": {...}}` for a failed verification,
    `{"detail": "..."}` for authentication and

    `{"detail": [...]}` for request validation. Each operation names the shape
    it uses.


    ## Asynchronous handoff (v1 employment products)


    Some v1 employment and UAN endpoints can answer `202` with `IDTO_203` and a
    `reference_id` instead of the

    result. Fetch the result with `GET /verify/result/{reference_id}`. Today
    staging returns this 202 and

    production does not, so handle both a 200 result and a 202 handoff.


    ## Idempotency


    Send an `Idempotency-Key` header (max 255 characters) on any v2 request to
    make retries safe. If the

    same key is replayed with an identical request body, the original result is
    returned without re-running

    the verification or billing again. If the same key is replayed with a
    **different** body, the request

    is rejected with `IDTO_010` (422). A request with the same key that is still
    in flight returns `IDTO_004` (409). The header is optional; omitting it runs
    every request as new.


    ## Authentication


    Every request to `/verify/*` and `/v2/verify/*` must include two headers:
    `X-Client-ID` and

    `X-API-Key`. Both are issued per environment (staging and production
    credentials are separate and

    not interchangeable).


    ## Error Codes


    | Code | HTTP | Message |

    |---|---|---|

    | IDTO_001 | 400 or 422 | Invalid input. Please check the request and try
    again. |

    | IDTO_004 | 409 | Duplicate request. Verification ID already exists. |

    | IDTO_005 | 400 | User consent is required to proceed. |

    | IDTO_006 | 429 | Too many requests. Please wait a moment and retry. (the
    verification source is limiting requests; idto has no per-key quota) |

    | IDTO_007 | 500 | Verification could not be completed due to a service
    configuration issue. Please contact support at tech@idto.ai. |

    | IDTO_008 | 503 | The verification service is facing downtime due to issues
    from the source. Please drop a mail to tech@idto.ai, and try again later. |

    | IDTO_009 | 402 | Insufficient credits or balance. Recharge, or ask your
    account owner to add credits. |

    | IDTO_010 | 422 | Idempotency-Key was already used with a different request
    body. |

    | IDTO_101 | 400 | A required parameter is missing from the request. |

    | IDTO_102 | 400 | A required parameter is missing from the request. |

    | IDTO_103 | 503 | This verification could not be completed. Please retry
    shortly or contact support at tech@idto.ai. |

    | IDTO_201 | 200 | Bank account is invalid or does not exist. |

    | IDTO_202 | 200 | Record is invalid or does not exist. (per-product
    messages may override this text) |

    | IDTO_203 | 202 | Verification is still in progress. Retrieve the result
    using reference_id. (v1 asynchronous handoff, not billed) |

    | IDTO_204 | 422 | No readable Aadhaar QR was found in the image. (not
    billed, like every raised error) |

    | IDTO_205 | 422 | Invalid OTP or session expired. Please request a new OTP.
    |

    | IDTO_206 | 429 | Maximum OTP attempts exceeded. Please generate a new OTP.
    |

    | IDTO_207 | 404 | No result found for this reference_id. |

    | IDTO_401 | 400 | The account number provided is invalid. |

    | IDTO_402 | 400 | The IFSC code provided is invalid. |

    | IDTO_403 | 503 | This verification could not be completed. Please retry
    shortly or contact support at tech@idto.ai. |

    | IDTO_503 | 413 | The image could not be processed. Please try a clearer,
    smaller image. |

    | IDTO_509 | 500 | Face match could not be completed. Please try again. |

    | IDTO_609 | 500 | Liveness could not be determined. Please try again. |
  contact:
    name: idto Support
    email: tech@idto.ai
servers:
  - url: https://prod.idto.ai
    description: >-
      Production: keys from the idto dashboard after go-live. Every successful
      call is billed.
  - url: https://dev.idto.ai
    description: >-
      Staging: keys on request from your idto account manager. Calls reach live
      sources and deduct staging credits.
security:
  - ClientIdAuth: []
    ApiKeyAuth: []
tags:
  - name: PAN
    description: >-
      PAN validation, detailed lookups, OCR and every PAN-linked crosswalk (UAN,
      GST, CIN, DIN, Udyam).
  - name: Aadhaar
    description: Aadhaar OKYC (OTP-based) and Aadhaar secure-QR read and verification.
  - name: Bank Account
    description: >-
      Bank account penny-drop verification, IFSC lookups, and bank-statement PDF
      processing.
  - name: Business & GST
    description: GSTIN, CIN/MCA, Udyam, FSSAI and shop & establishment registration checks.
  - name: Vehicle & RC
    description: Vehicle registration certificate, challan and FASTag lookups.
  - name: Mobile & UPI
    description: >-
      Mobile-number OTP, subscriber profile, and UPI VPA verification and
      crosswalks.
  - name: Employment (EPFO/UAN)
    description: >-
      EPFO employment history and UAN-linked lookups, including the async
      passbook flows.
  - name: Credit Bureau
    description: >-
      Credit reports and scores from supported bureaus, including OTP-gated
      pulls.
  - name: DigiLocker
    description: >-
      DigiLocker account linking and document fetches (Aadhaar, PAN, DL,
      marksheets, and more).
  - name: Driving Licence
    description: Driving licence verification and OCR.
  - name: Face & Liveness
    description: Face-match comparison and liveness/anti-spoofing checks.
  - name: Document OCR
    description: OCR extraction for PAN, driving licence and Aadhaar card images.
  - name: Address & Invoice
    description: Address verification via OCR on invoices and utility bills.
  - name: Voter & Passport
    description: Voter ID and passport verification.
  - name: eSign
    description: Electronic signature docket creation and signed-document retrieval.
  - name: Verification Links
    description: Hosted, no-code verification links (added by a later documentation pass).
  - name: Webhooks
    description: >-
      Webhook configuration for asynchronous result delivery.


      ## What gets delivered


      Two kinds of event are delivered by webhook: a verification-link session
      completing (see the

      Verification Links tag), and an eSign docket finishing signing (see the
      eSign tag). Both use the

      same delivery, signing and retry mechanism described below, but the two
      payload shapes are

      different and are not wrapped in any shared envelope.


      ## Signing scheme


      The request body sent to your `webhook_url` is compact, key-sorted JSON,
      produced the same way as

      Python's `json.dumps(payload, separators=(",", ":"), sort_keys=True)`, and
      sent as raw UTF-8 bytes.

      A Unix timestamp (whole seconds, encoded as a string) is generated at send
      time.


      The string that gets signed is built by concatenating, as bytes: the
      timestamp string, a literal

      `.`, then the raw request body bytes. In Python terms this is
      `f"{timestamp}.".encode() + raw_body_bytes`,

      a bytes concatenation, not a string concatenation of the decoded body. The
      signature is

      `HMAC-SHA256(secret, signing_string)`, hex-encoded.


      Every delivery carries three headers:


      - `X-idto-Event-Id`: a unique id for this specific delivery, used to
      de-duplicate retried or
        re-sent events on your side.
      - `X-idto-Timestamp`: the same timestamp string used when building the
      signature.

      - `X-idto-Signature`: the signature in the form `sha256=<hex signature>`.


      To verify a delivery, recompute the HMAC over `timestamp + "." +
      raw_body_bytes` using your stored

      secret, and compare the result to `X-idto-Signature` with a constant-time
      comparison, never a plain

      `==` on the strings. During a secret rotation, deliveries in flight may be
      signed with either the

      previous secret or the new one for a short grace window, so verify against
      both secrets if you have

      just rotated.


      ## Event payloads


      There is no shared `event` wrapper key across both event types, so
      distinguish them by shape: the

      eSign event carries an explicit `event` field, the session-completion
      event does not.


      Session completion (implicit, no `event` field):


      ```json

      {
        "session_id": "8f14e45f-ceea-467e-bd93-4a2c11e0a1b2",
        "session_token": "sess_3c9a1e2b7d4f5061",
        "status": "completed",
        "outcome": "approved",
        "partial": false,
        "completed_steps": ["mobile_verification", "pan_validation", "face_match"],
        "skipped_steps": [],
        "fallback_steps": [],
        "branch_excluded_steps": [],
        "consents": [
          {"type": "data_processing", "version": "1.0", "timestamp": "2026-09-14T10:15:30Z"}
        ],
        "event_id": "evt_5b6c7d8e9f0a1b2c",
        "report": {
          "url": "https://reports.idto.ai/r/8f14e45f-ceea-467e-bd93-4a2c11e0a1b2?sig=...",
          "expires_at": "2026-09-14T11:15:30Z",
          "content_type": "application/pdf",
          "filename": "report.pdf"
        }
      }

      ```


      The `report` key is only present when a PDF report is attached to the
      session and the merchant has

      report attachment enabled. Its `url` is a fresh, short-lived presigned
      link generated for that one

      delivery, never a permanent link.


      eSign completion:


      ```json

      {
        "event": "esign.completed",
        "event_id": "evt_esign_2a3b4c5d6e7f8091",
        "tranx_id": "b6e1f2a0-1234-4abc-9def-0123456789ab",
        "docket_id": "b6e1f2a0-1234-4abc-9def-0123456789ab",
        "document_id": "doc_1a2b3c4d5e6f7081",
        "signing_status": "signed",
        "signed_at": "2026-09-14T10:15:30Z"
      }

      ```


      No document bytes are included in this event. Retrieve the signed PDF
      separately through the eSign

      document-download endpoint documented elsewhere in this spec.


      ## Delivery and retries


      A delivery is attempted up to 5 times with exponential backoff between
      attempts, starting at

      roughly 10 seconds and doubling on each retry, capped at 1 hour between
      tries. If every attempt is

      exhausted, the delivery is marked permanently failed and is not retried
      again. Events created before a signing secret exists are still attempted:
      they run through this same 5-attempt retry cycle and are permanently
      dead-lettered within a few minutes, the same as any other delivery
      failure. There is no separate holding queue that waits for you to
      configure a secret. Generate one with `POST
      /merchant/webhook-config/rotate-secret` before, or immediately after,
      setting a webhook URL, or the earliest events from that window are lost
      for good.
  - name: Authentication
    description: SDK and API authentication (added by a later documentation pass).
  - name: Court Records
    description: Court and litigation record checks.
  - name: Name Match
    description: Compare two person or business names and get a match score.
paths:
  /v2/verify/vehicle_rc:
    post:
      tags:
        - Vehicle & RC
      summary: Verify a vehicle registration (RC)
      description: >-
        Looks up a vehicle registration number and returns one fixed set of
        registration, owner, insurance, tax, permit and fitness fields,
        whichever source serves the call.


        Raised errors use the v2 error envelope (`V2ErrorEnvelope`).
        Authentication failures return `{"detail": "..."}`.
      parameters:
        - name: Idempotency-Key
          in: header
          required: false
          description: >-
            Make retries of this exact request safe. If the same key is replayed
            with an identical request body, the original result is returned
            without re-running the verification or billing again. If the same
            key is replayed with a different body, the request is rejected with
            `IDTO_010` (422). Omitting this header runs every request as new.
          schema:
            type: string
            maxLength: 255
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
                - vehicle_number
              properties:
                vehicle_number:
                  type: string
                  maxLength: 20
                  example: KA01AB1234
                  description: >-
                    Registration number. Spaces and hyphens are removed and
                    letters are upper-cased, so `KA 01 AB 1234` and
                    `KA-01-AB-1234` are accepted. The result must be 5 to 15
                    letters or digits.
                user_id:
                  type: string
                  maxLength: 255
                  description: Your own reference for the end user. Optional.
                workflow_session_token:
                  type: string
                  maxLength: 64
                  description: >-
                    Pass only when the call is part of an idto workflow session.
                    Optional.
            example:
              vehicle_number: KA01AB1234
      responses:
        '200':
          description: >-
            The lookup ran to a definitive answer. `error_code` `null` is a
            record, `IDTO_202` is no record. Both are billed.
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    type: string
                    enum:
                      - success
                  message:
                    type: string
                  error_code:
                    type:
                      - string
                      - 'null'
                  data:
                    oneOf:
                      - $ref: '#/components/schemas/VehicleRcV2Data'
                      - type: 'null'
                  billed:
                    type: boolean
                    enum:
                      - true
                  chargeble:
                    type: string
                    enum:
                      - 'true'
                  user_consent:
                    type: string
                    enum:
                      - 'true'
                  tranx_id:
                    type:
                      - string
                      - 'null'
                  timestamp:
                    type:
                      - string
                      - 'null'
                    format: date-time
                required:
                  - status
                  - message
                  - error_code
                  - data
                  - billed
              examples:
                success:
                  summary: RC found
                  value:
                    status: success
                    message: Vehicle RC verified successfully.
                    error_code: null
                    data:
                      reg_no: KA01AB1234
                      class: MOTOR CAR(LMV)
                      chassis: MA1SAMPLE00000000
                      engine: SAMPLE00000
                      vehicle_manufacturer_name: SAMPLE MOTORS
                      model: SAMPLE MODEL
                      vehicle_colour: WHITE
                      type: PETROL
                      norms_type: BHARAT STAGE VI
                      body_type: SEDAN
                      owner_count: '1'
                      owner: RAHUL SHARMA
                      owner_father_name: null
                      mobile_number: null
                      rc_status: ACTIVE
                      status_as_on: '2026-12-01'
                      reg_authority: BENGALURU RTO, KARNATAKA
                      reg_date: '2020-01-01'
                      vehicle_manufacturing_month_year: 12/2019
                      rc_expiry_date: '2035-01-01'
                      vehicle_tax_upto: '2035-01-01'
                      vehicle_insurance_company_name: SAMPLE GENERAL INSURANCE
                      vehicle_insurance_upto: '2027-01-01'
                      vehicle_insurance_policy_number: XXXXXXXXXX
                      rc_financer: null
                      present_address: >-
                        12 SAMPLE STREET, SAMPLE AREA, BENGALURU,
                        KARNATAKA-560001
                      permanent_address: >-
                        12 SAMPLE STREET, SAMPLE AREA, BENGALURU,
                        KARNATAKA-560001
                      vehicle_cubic_capacity: '1199'
                      gross_vehicle_weight: '1332'
                      unladen_weight: '957'
                      vehicle_category: LMV
                      rc_standard_cap: '0'
                      vehicle_cylinders_no: '4'
                      vehicle_seat_capacity: '5'
                      vehicle_sleeper_capacity: '0'
                      vehicle_standing_capacity: '0'
                      wheelbase: '2470'
                      pucc_number: XXXXXXXXXX
                      pucc_upto: '2027-01-01'
                      blacklist_status: null
                      blacklist_details: []
                      challan_details: []
                      permit_issue_date: null
                      permit_number: null
                      permit_type: null
                      permit_valid_from: null
                      permit_valid_upto: null
                      non_use_status: null
                      non_use_from: null
                      non_use_to: null
                      national_permit_number: null
                      national_permit_upto: null
                      national_permit_issued_by: null
                      is_commercial: false
                      noc_details: null
                      split_present_address: null
                      split_permanent_address: null
                      extras:
                        vehicle_number: null
                        rto_code: null
                        financed: null
                    billed: true
                    chargeble: 'true'
                    user_consent: 'true'
                    tranx_id: 8f14e45f-ceea-467e-bd93-4a2c11e0a1b2
                    timestamp: '2026-12-01T10:15:30Z'
                no_record:
                  summary: No record
                  value:
                    status: success
                    message: No RC record found for the provided vehicle number.
                    error_code: IDTO_202
                    data: null
                    billed: true
                    chargeble: 'true'
                    user_consent: 'true'
                    tranx_id: 8f14e45f-ceea-467e-bd93-4a2c11e0a1b2
                    timestamp: '2026-12-01T10:15:30Z'
        '400':
          description: >-
            `vehicle_number` is empty or not a valid registration number. Not
            billed.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/V2ErrorEnvelope'
              examples:
                empty:
                  summary: Empty
                  value:
                    status: error
                    message: >-
                      Invalid input: vehicle_number is required. Please check
                      and retry.
                    error_code: IDTO_001
                    data: null
                    billed: false
                    chargeble: 'false'
                    user_consent: 'false'
                    tranx_id: 8f14e45f-ceea-467e-bd93-4a2c11e0a1b2
                    timestamp: '2026-12-01T10:15:30Z'
                bad:
                  summary: Not a registration number
                  value:
                    status: error
                    message: >-
                      Invalid vehicle number. Please provide a valid RC
                      registration number.
                    error_code: IDTO_001
                    data: null
                    billed: false
                    chargeble: 'false'
                    user_consent: 'false'
                    tranx_id: 8f14e45f-ceea-467e-bd93-4a2c11e0a1b2
                    timestamp: '2026-12-01T10:15:30Z'
                separators:
                  summary: Only spaces and hyphens
                  value:
                    status: error
                    message: >-
                      Invalid input: vehicle_number is empty after removing
                      spaces and hyphens. Please check and retry.
                    error_code: IDTO_001
                    data: null
                    billed: false
                    chargeble: 'false'
                    user_consent: 'false'
                    tranx_id: 8f14e45f-ceea-467e-bd93-4a2c11e0a1b2
                    timestamp: '2026-12-01T10:15:30Z'
        '409':
          description: >-
            A request with the same `Idempotency-Key` is still running, or the
            source reports a duplicate. Not billed.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/V2ErrorEnvelope'
              examples:
                dup:
                  summary: Duplicate
                  value:
                    status: error
                    message: Duplicate request. Verification ID already exists.
                    error_code: IDTO_004
                    data: null
                    billed: false
                    chargeble: 'false'
                    user_consent: 'false'
                    tranx_id: 8f14e45f-ceea-467e-bd93-4a2c11e0a1b2
                    timestamp: '2026-12-01T10:15:30Z'
                in_flight:
                  summary: Same key still running
                  value:
                    status: error
                    message: >-
                      An identical request is already in progress; retry
                      shortly.
                    error_code: IDTO_004
                    data: null
                    billed: false
                    chargeble: 'false'
                    user_consent: 'false'
                    tranx_id: 8f14e45f-ceea-467e-bd93-4a2c11e0a1b2
                    timestamp: '2026-12-01T10:15:30Z'
        '422':
          $ref: '#/components/responses/ValidationOrIdempotencyError422'
        '429':
          $ref: '#/components/responses/RateLimited429'
        '500':
          description: A service configuration issue on idto's side. Not billed.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/V2ErrorEnvelope'
              examples:
                config:
                  summary: Configuration issue
                  value:
                    status: error
                    message: >-
                      Verification could not be completed due to a service
                      configuration issue. Please try again later.
                    error_code: IDTO_007
                    data: null
                    billed: false
                    chargeble: 'false'
                    user_consent: 'false'
                    tranx_id: 8f14e45f-ceea-467e-bd93-4a2c11e0a1b2
                    timestamp: '2026-12-01T10:15:30Z'
                config_local:
                  summary: Configuration issue found before the source call
                  value:
                    status: error
                    message: >-
                      Verification could not be completed due to a service
                      configuration issue. Please contact support at
                      tech@idto.ai.
                    error_code: IDTO_007
                    data: null
                    billed: false
                    chargeble: 'false'
                    user_consent: 'false'
                    tranx_id: 8f14e45f-ceea-467e-bd93-4a2c11e0a1b2
                    timestamp: '2026-12-01T10:15:30Z'
        '503':
          description: >-
            The registry source is down, idto stopped calling a failing source
            for a short time, or idto is shedding load. Retry later. Not billed.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/V2ErrorEnvelope'
              examples:
                busy:
                  summary: Source down
                  value:
                    status: error
                    message: >-
                      The verification service is facing downtime due to issues
                      from the source. Please try again later.
                    error_code: IDTO_008
                    data: null
                    billed: false
                    chargeble: 'false'
                    user_consent: 'false'
                    tranx_id: 8f14e45f-ceea-467e-bd93-4a2c11e0a1b2
                    timestamp: '2026-12-01T10:15:30Z'
                shed:
                  summary: Paused source or load shed
                  value:
                    status: error
                    message: >-
                      The verification service is facing downtime due to issues
                      from the source. Please drop a mail to tech@idto.ai, and
                      try again later.
                    error_code: IDTO_008
                    data: null
                    billed: false
                    chargeble: 'false'
                    user_consent: 'false'
                    tranx_id: 8f14e45f-ceea-467e-bd93-4a2c11e0a1b2
                    timestamp: '2026-12-01T10:15:30Z'
      security:
        - ClientIdAuth: []
          ApiKeyAuth: []
components:
  schemas:
    VehicleRcV2Data:
      type: object
      description: >-
        Every key is always present. Text is upper-cased and dates are
        `YYYY-MM-DD`; a value the registry does not hold is `null`. `extras` is
        filled only where the serving source has the value.
      properties:
        reg_no:
          type:
            - string
            - 'null'
        class:
          type:
            - string
            - 'null'
        chassis:
          type:
            - string
            - 'null'
        engine:
          type:
            - string
            - 'null'
        vehicle_manufacturer_name:
          type:
            - string
            - 'null'
        model:
          type:
            - string
            - 'null'
        vehicle_colour:
          type:
            - string
            - 'null'
        type:
          type:
            - string
            - 'null'
        norms_type:
          type:
            - string
            - 'null'
        body_type:
          type:
            - string
            - 'null'
        owner_count:
          type:
            - string
            - 'null'
        owner:
          type:
            - string
            - 'null'
        owner_father_name:
          type:
            - string
            - 'null'
        mobile_number:
          type:
            - string
            - 'null'
        rc_status:
          type:
            - string
            - 'null'
        status_as_on:
          type:
            - string
            - 'null'
        reg_authority:
          type:
            - string
            - 'null'
        reg_date:
          type:
            - string
            - 'null'
        vehicle_manufacturing_month_year:
          type:
            - string
            - 'null'
        rc_expiry_date:
          type:
            - string
            - 'null'
        vehicle_tax_upto:
          type:
            - string
            - 'null'
        vehicle_insurance_company_name:
          type:
            - string
            - 'null'
        vehicle_insurance_upto:
          type:
            - string
            - 'null'
        vehicle_insurance_policy_number:
          type:
            - string
            - 'null'
        rc_financer: {}
        present_address:
          type:
            - string
            - 'null'
        permanent_address:
          type:
            - string
            - 'null'
        vehicle_cubic_capacity:
          type:
            - string
            - 'null'
        gross_vehicle_weight:
          type:
            - string
            - 'null'
        unladen_weight:
          type:
            - string
            - 'null'
        vehicle_category:
          type:
            - string
            - 'null'
        rc_standard_cap:
          type:
            - string
            - 'null'
        vehicle_cylinders_no:
          type:
            - string
            - 'null'
        vehicle_seat_capacity:
          type:
            - string
            - 'null'
        vehicle_sleeper_capacity:
          type:
            - string
            - 'null'
        vehicle_standing_capacity:
          type:
            - string
            - 'null'
        wheelbase:
          type:
            - string
            - 'null'
        pucc_number:
          type:
            - string
            - 'null'
        pucc_upto:
          type:
            - string
            - 'null'
        blacklist_status:
          type:
            - string
            - 'null'
        blacklist_details: {}
        challan_details: {}
        permit_issue_date:
          type:
            - string
            - 'null'
        permit_number:
          type:
            - string
            - 'null'
        permit_type:
          type:
            - string
            - 'null'
        permit_valid_from:
          type:
            - string
            - 'null'
        permit_valid_upto:
          type:
            - string
            - 'null'
        non_use_status:
          type:
            - string
            - 'null'
        non_use_from:
          type:
            - string
            - 'null'
        non_use_to:
          type:
            - string
            - 'null'
        national_permit_number: {}
        national_permit_upto:
          type:
            - string
            - 'null'
        national_permit_issued_by: {}
        is_commercial:
          type:
            - boolean
            - 'null'
        noc_details: {}
        split_present_address: {}
        split_permanent_address: {}
        extras:
          type: object
          properties:
            vehicle_number:
              type:
                - string
                - 'null'
            rto_code:
              type:
                - string
                - 'null'
            financed: {}
      required:
        - reg_no
        - class
        - chassis
        - engine
        - vehicle_manufacturer_name
        - model
        - vehicle_colour
        - type
        - norms_type
        - body_type
        - owner_count
        - owner
        - owner_father_name
        - mobile_number
        - rc_status
        - status_as_on
        - reg_authority
        - reg_date
        - vehicle_manufacturing_month_year
        - rc_expiry_date
        - vehicle_tax_upto
        - vehicle_insurance_company_name
        - vehicle_insurance_upto
        - vehicle_insurance_policy_number
        - rc_financer
        - present_address
        - permanent_address
        - vehicle_cubic_capacity
        - gross_vehicle_weight
        - unladen_weight
        - vehicle_category
        - rc_standard_cap
        - vehicle_cylinders_no
        - vehicle_seat_capacity
        - vehicle_sleeper_capacity
        - vehicle_standing_capacity
        - wheelbase
        - pucc_number
        - pucc_upto
        - blacklist_status
        - blacklist_details
        - challan_details
        - permit_issue_date
        - permit_number
        - permit_type
        - permit_valid_from
        - permit_valid_upto
        - non_use_status
        - non_use_from
        - non_use_to
        - national_permit_number
        - national_permit_upto
        - national_permit_issued_by
        - is_commercial
        - noc_details
        - split_present_address
        - split_permanent_address
        - extras
    V2ErrorEnvelope:
      type: object
      description: >-
        Returned for every raised (non-2xx) error from a `/v2/verify` endpoint.
        Never billed. `status`, `message`, `error_code`, `data` (always `null`),
        `billed`, `chargeble` and `user_consent` are always present; `tranx_id`
        and `timestamp` are set when the failed call was recorded.
        Authentication failures are not in this shape: they return `{"detail":
        "..."}`.
      properties:
        status:
          type: string
          enum:
            - error
        message:
          type: string
        error_code:
          type:
            - string
            - 'null'
        data:
          type: 'null'
          description: Always `null` on a raised error.
        billed:
          type: boolean
          enum:
            - false
        chargeble:
          type: string
          description: Legacy string flag, always "false" on this path.
          enum:
            - 'false'
        user_consent:
          type: string
          description: Legacy string flag, always "false" on this path.
          enum:
            - 'false'
        tranx_id:
          type:
            - string
            - 'null'
          description: Present only when the failed call was recorded.
        timestamp:
          type:
            - string
            - 'null'
          description: Present only when the failed call was recorded.
      required:
        - status
        - message
        - error_code
        - data
        - billed
        - chargeble
        - user_consent
  responses:
    ValidationOrIdempotencyError422:
      description: >-
        Either the request body failed schema validation, which returns
        `IDTO_001`, or an `Idempotency-Key` was reused with a different request
        body, which returns `IDTO_010`. Both use the standard v2 error envelope.
        When a field is missing or has the wrong type, the `IDTO_001` message
        starts with `Invalid request`, followed by the field name and the
        reason, for example `vehicle_number: Field required`. When the body
        cannot be read at all, the message is the generic one shown in the
        example.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/V2ErrorEnvelope'
          examples:
            unparseable:
              summary: Body could not be parsed
              value:
                status: error
                message: Invalid input. Please check the request and try again.
                error_code: IDTO_001
                data: null
                billed: false
                chargeble: 'false'
                user_consent: 'false'
            idempotency_conflict:
              summary: Idempotency-Key reused with a different body
              value:
                status: error
                message: >-
                  Idempotency-Key was already used with a different request
                  body.
                error_code: IDTO_010
                data: null
                billed: false
                chargeble: 'false'
                user_consent: 'false'
    RateLimited429:
      description: >-
        idto has no per-key request quota. A 429 is `IDTO_006` (the verification
        source is limiting requests; retry with backoff), `IDTO_206` (OTP
        attempts for the session are used up; generate a new OTP) or, on a call
        made with an SDK session token, the session allowance `{"detail": "This
        verification session has used its allowance. Start a new session."}`.
        Not billed.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/V2ErrorEnvelope'
          examples:
            default:
              summary: Rate limited
              value:
                status: error
                message: Too many requests. Please wait a moment and retry.
                error_code: IDTO_006
                data: null
                billed: false
                chargeble: 'false'
                user_consent: 'false'
  securitySchemes:
    ClientIdAuth:
      type: apiKey
      in: header
      name: X-Client-ID
      description: >-
        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-default: <client-id>
    ApiKeyAuth:
      type: apiKey
      in: header
      name: X-API-Key
      description: >-
        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.
      x-default: <api-key>

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.