> ## 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.

# idto: Identity and KYC Verification API for India

> idto is a single REST API for verifying Indian identity documents, businesses, vehicles, credit history, and more, with a consistent request and response contract across every product.

idto gives you one API for the identity and business checks an Indian KYC or onboarding flow needs, with one authentication scheme, one response envelope and one set of error codes across every product.

<video controls src="https://idto-sdk-usage-demo-bucket.s3.ap-south-1.amazonaws.com/docs/v1/video/idto-overview.mp4" poster="https://idto-sdk-usage-demo-bucket.s3.ap-south-1.amazonaws.com/docs/v1/video/idto-overview.jpg" />

## Start here

> [card] [Quickstart](https://idto.mintlify.site/quickstart.md)
>
> First call in five minutes.

> [card] [Authentication](https://idto.mintlify.site/authentication.md)
>
> API keys and SDK tokens.

> [card] [Environments](https://idto.mintlify.site/environments.md)
>
> Staging and production.

> [card] [Go-live checklist](https://idto.mintlify.site/go-live-checklist.md)
>
> Before you switch to production.

> [card] [Error codes](https://idto.mintlify.site/reference/v2-error-codes.md)
>
> Every code and whether it bills.

> [card] [Recipes](https://idto.mintlify.site/recipes/verify-pan-branch-on-error-code.md)
>
> Runnable examples in 8 languages.

## Products

> [card] [PAN](https://idto.mintlify.site/products/pan/overview.md)
>
> Validate a PAN, fetch the detailed record, read a PAN card image.

> [card] [Aadhaar](https://idto.mintlify.site/products/aadhaar/overview.md)
>
> OTP-based offline KYC, Aadhaar QR, Aadhaar card OCR and DigiLocker.

> [card] [Bank](https://idto.mintlify.site/products/bank/overview.md)
>
> Verify an account number and IFSC, with or without a penny drop.

> [card] [Business](https://idto.mintlify.site/products/business/overview.md)
>
> GST registration, company records and employment history.

> [card] [Credit and legal](https://idto.mintlify.site/products/credit-legal/overview.md)
>
> Credit bureau reports and court record checks.

> [card] [Mobile](https://idto.mintlify.site/products/mobile/overview.md)
>
> Identity details linked to a mobile number.

> [card] [Driving licence and vehicle](https://idto.mintlify.site/products/driving-vehicle/overview.md)
>
> Driving licence verification and OCR, vehicle registration.

> [card] [Face and liveness](https://idto.mintlify.site/products/face/overview.md)
>
> Face match between two images and liveness from a selfie.

> [card] [Documents](https://idto.mintlify.site/products/documents/overview.md)
>
> Invoice OCR.

> [card] [eSign](https://idto.mintlify.site/products/esign/overview.md)
>
> Aadhaar eSign on a document, then download the signed PDF.

> [card] [SDKs and sessions](https://idto.mintlify.site/products/integration/overview.md)
>
> Hosted verification flows for web, Android, iOS, Flutter and React Native.

## Choose how to integrate

There are two ways to run checks, and most teams use both.

| | Direct API | Hosted verification flow (SDK) |
| - | - | - |
| Who collects the data | Your own screens | idto's screens, inside your web or mobile app |
| Authentication | `X-Client-ID` and `X-API-Key`, from your server only | A short-lived SDK token your server mints per user session |
| How you get the result | In the HTTP response | From the session, and by webhook when the session completes |
| Best for | Back-office checks, bulk jobs, custom UX | Customer onboarding with document capture, OTP, selfie and consent screens |

Call the API directly when you already hold the data (a PAN, a GSTIN, a bank account) or want full control of the user interface. Use a [hosted flow](https://idto.mintlify.site/products/integration/overview.md) when the user has to photograph documents, enter an OTP or take a selfie, so you do not build and maintain those screens yourself. SDKs exist for [Web](https://idto.mintlify.site/sdks/web.md), [Android](https://idto.mintlify.site/sdks/android.md), [iOS](https://idto.mintlify.site/sdks/ios.md), [Flutter](https://idto.mintlify.site/sdks/flutter.md) and [React Native](https://idto.mintlify.site/sdks/react-native.md).

Never put your API key in a browser or mobile app. Client-side code uses an SDK token, which your server mints per user session and which expires after 15 minutes.

## Pick checks by use case

| You need to | Start with |
| - | - |
| Confirm who an individual is | [PAN](https://idto.mintlify.site/products/pan/overview.md), then [Aadhaar](https://idto.mintlify.site/products/aadhaar/overview.md) by OTP, DigiLocker or QR |
| Pay out to a user's bank account | [Bank](https://idto.mintlify.site/products/bank/overview.md) penny drop, then compare the registered name |
| Onboard a business | [GST and CIN](https://idto.mintlify.site/products/business/overview.md) |
| Onboard a driver or delivery partner | [Driving licence and vehicle](https://idto.mintlify.site/products/driving-vehicle/overview.md) |
| Prove the user is present | [Face match and liveness](https://idto.mintlify.site/products/face/overview.md) |
| Confirm an address | [Invoice and utility bill OCR](https://idto.mintlify.site/products/documents/overview.md) |
| Assess lending risk | [Credit report and court checks](https://idto.mintlify.site/products/credit-legal/overview.md) |
| Get a document signed | [eSign](https://idto.mintlify.site/products/esign/overview.md) |

## How a v2 call works

Every v2 call is a `POST` to `/v2/verify/<product>` with your key pair in the headers. Once the request is authenticated, every 2xx response has these top-level fields, and a raised error always has `status`, `message`, `error_code` and `billed`:

| Field | Meaning |
| - | - |
| `status` | `"success"` on every 2xx response, `"error"` on every other response |
| `error_code` | `null` when a record was found; `IDTO_202` when the check ran and found no record; an `IDTO_*` code on an error |
| `message` | A human-readable sentence you can log or show |
| `data` | The result, or `null` |
| `billed` | `true` when the call was charged |
| `tranx_id` | idto's id for the call. Store it and quote it to support |

An authentication failure (401 or 403) returns a plain `detail` message instead. [Error response shapes](https://idto.mintlify.site/concepts/request-response.md#error-response-shapes) lists exactly what each product family returns. Branch on `error_code`, not on `status`: a no-record result is a successful check. A call is charged when it finishes with a 2xx response whose `status` is `"success"`, unless a verification session already pays for that step, and errors are never charged. See [Billing and consent](https://idto.mintlify.site/concepts/billing-consent.md#billing).

## A typical integration

1. Get staging keys and make a first call against `https://dev.idto.ai`, following the [Quickstart](https://idto.mintlify.site/quickstart.md).
2. Pick the products for your flow from the table above and read each product's overview and FAQ.
3. Handle every outcome in the endpoint's outcomes table: found, no record, bad input, and retryable errors.
4. Send an `Idempotency-Key` on every v2 call, so a retry after a timeout is never charged twice. See [Idempotency](https://idto.mintlify.site/concepts/idempotency.md).
5. If you use a hosted flow, mint SDK tokens on your server and set up [webhooks](https://idto.mintlify.site/concepts/webhooks.md) for session results.
6. Work through the [Go-live checklist](https://idto.mintlify.site/go-live-checklist.md), then switch the base URL and keys to production.

## v1 and v2

idto exposes two API generations side by side: `/verify/*` (v1) and `/v2/verify/*` (v2). Both are live and both work. v2 is the current standard: a single response envelope across every product, standardized `IDTO_*` error codes, and idempotency support. Use v2 wherever a product has a v2 endpoint; each product page says which version it is. See [API Versioning](https://idto.mintlify.site/concepts/api-versioning.md) for the full comparison and for which endpoints are v2-only versus v1-only today.

## Where to go next

Head to the [Quickstart](https://idto.mintlify.site/quickstart.md) to get credentials and make your first call. From there, [Authentication](https://idto.mintlify.site/authentication.md) covers both auth methods in depth, and [Handling errors](https://idto.mintlify.site/error-codes.md) explains how to handle every outcome a verification call can return.

Was this page helpful? Email us at [tech@idto.ai](mailto:tech@idto.ai?subject=Docs%20feedback%3A%20idto%3A%20Identity%20and%20KYC%20Verification%20API%20for%20India) with the page link.


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