Skip to main content
POST
Find the PAN linked to a mobile number
Send a mobile number with the holder’s consent. idto returns the PAN linked to that number, the name on the PAN, the date of birth and the holder type. Use it to prefill a PAN step or to cross-check the PAN a user typed. Every completed lookup is HTTP 200 with status: "success", error_code: null and billed: true. Branch on data.lookup_status:
  • "found": a PAN is linked to the number. data carries the PAN details. Billed.
  • "not_found": no PAN is linked to the number. The PAN fields are null. Billed, because the lookup ran to a definitive answer. This product does not use IDTO_202.
  • Any non-2xx response: the lookup did not complete. Never billed.

Environments

Input rules

The checks run in this order and stop at the first failure.

Response fields

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 lookup 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 lookup again.

Errors

The messages below are the ones this endpoint returns today, quoted exactly. Fix the input on IDTO_001 and IDTO_005; do not retry them unchanged. Retry IDTO_002, IDTO_003, IDTO_004, IDTO_006 and IDTO_008 with backoff. If IDTO_007 persists, write to tech@idto.ai with the tranx_id. IDTO_002 and IDTO_003 are specific to this endpoint. Full taxonomy: v2 error codes.

Test scenarios

The older v1 endpoint is documented at Mobile to PAN (v1). Questions about this product are answered in the Mobile 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.

Headers

Idempotency-Key
string

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.

Maximum string length: 255

Body

application/json
mobile_number
string
required

Indian mobile number starting 6 to 9. Spaces, hyphens and a +91, 91 or 0 prefix are removed first.

Example:

"9999999999"

purpose
enum<string>
required
Available options:
identity_verification

Must be the boolean true.

Available options:
true

When the holder gave consent, ISO 8601 with a time zone offset (for example 2026-12-01T10:15:30+05:30). Not more than 5 minutes in the future.

Available options:
otp,
checkbox
reference_id
string

Your own reference for this lookup. Optional.

Pattern: ^[A-Za-z0-9_-]{1,64}$
user_id
string

Your own reference for the end user. Optional.

workflow_session_token
string

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

Response

The lookup completed. Branch on data.lookup_status. Both outcomes are billed and carry error_code: null.

status
enum<string>
required
Available options:
success
message
string
required
error_code
string | null
required
data
object | null
required
billed
enum<boolean>
required
Available options:
true
chargeble
enum<string>
Available options:
true
Available options:
true
tranx_id
string | null
timestamp
string<date-time> | null
Last modified on December 1, 2026