Skip to main content
POST
Get the Aadhaar OKYC result (v1)
Step 2 of Aadhaar OKYC on v1. Send the sessionId from OKYC: send OTP (v1) and the OTP the holder typed. A correct OTP returns the Aadhaar profile: name, date of birth, gender, care-of, address and photo. This is a v1 endpoint: the response is a flat object, not the v2 envelope.

Environments

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.
For new integrations use OKYC: get result: it supports Idempotency-Key, returns a billed flag and uses one error format. See Migrate from v1.

How to read the result

  • status: "success": the OTP was correct. Read result. result.dob is DD-MM-YYYY, and result.gender is M, F or T. Charged.
  • status: "failed" with HTTP 200: not charged and result is {}. When error_code is present: IDTO_205 wrong or expired OTP (let the holder retry), IDTO_206 too many wrong OTPs (start again from send OTP), IDTO_001 the OTP is not 6 digits.
  • Billing signal: chargeble and user_consent are present as "true" only on a charged call. There is no billed field on v1.

Errors

Every wrapped detail object also carries data: null, tranx_id and timestamp.

Test scenarios

Questions: Aadhaar 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
otp
string
required

The 6-digit OTP the holder received.

Example:

"123456"

sessionId
string

From /verify/okyc_generate_otp. Send this or session_id.

session_id
string

Same as sessionId.

user_id
string

Your own reference for the end user.

workflow_session_token
string

Set only when the call is made inside an idto workflow session.

Response

The call completed. Charged only when status is success.

On success result carries the Aadhaar profile; on failure result is an empty object. result.dob is DD-MM-YYYY, unlike v2 which returns YYYY-MM-DD.

status
enum<string>
required
Available options:
success,
failed
message
string | null
required
result
object
required

Empty object ({}) on failure.

tranx_id
string
required
timestamp
string<date-time>
required
chargeble
enum<string>

Present only on success.

Available options:
true

Present only on success.

Available options:
true
error_code
string

Present on some failed results.

Last modified on December 1, 2026