Skip to main content
GET
List DigiLocker document types (v1)
Returns every DigiLocker document type code (doc_code) with its name. The list does not depend on a holder, so no reference_key is needed. The list changes rarely: fetch it once and cache it, because every call is charged.

Environments

Billing

Charged on every successful call (status: "success"). chargeble and user_consent are "true" only on a charged call.
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.

Errors

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.

Response

The list was returned. Charged.

result
object[]

Every DigiLocker document type code and its name.

status
string
tranx_id
string

idto transaction id for this call.

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

Present and "true" only when the call was charged.

Available options:
true

Present and "true" only when the call was charged.

Available options:
true
Last modified on October 4, 2026