GETGet Aadhaar KYC Consent Details
Fetch the DigiKhata Aadhaar e-KYC consent text and audio for a chosen language.
Returns the full Aadhaar e-KYC consent content, short consent statement, and an audio URL for the language selected (via consent_language = the pkid from Get Aadhaar KYC Consent Languages). Display/play this consent before collecting Aadhaar OTP.
Path parameters
| Field | Type | Required | Description |
|---|---|---|---|
customer_id | string | required | Sender's 10-digit mobile number.e.g. 8617567988 |
customer_idstringRequiredSender's 10-digit mobile number.
example: 8617567988
Query parameters
| Field | Type | Required | Description |
|---|---|---|---|
initiator_id | string | required | Registered mobile number of the API user (see Platform Credentials).e.g. 9962981729 |
user_code | string | required | User code of the retailer/agent the service is run for.e.g. 20810200 |
org_id | string | required | Organisation identifier. Defaults to 1.e.g. 1 |
client_ref_id | string | required | Unique reference identifier for the request.e.g. ref_20250121_001 |
consent_language | string | required | The pkid from Get Aadhaar KYC Consent Languages.e.g. 1 |
initiator_idstringRequiredRegistered mobile number of the API user (see Platform Credentials).
example: 9962981729
user_codestringRequiredUser code of the retailer/agent the service is run for.
example: 20810200
org_idstringRequiredOrganisation identifier. Defaults to 1.
example: 1
client_ref_idstringRequiredUnique reference identifier for the request.
example: ref_20250121_001
consent_languagestringRequiredThe pkid from Get Aadhaar KYC Consent Languages.
example: 1
Headers
| Field | Type | Required | Description |
|---|---|---|---|
developer_key | string | required | Static API key issued to your account after KYC. |
secret-key | string | required | Dynamic per-request signature: base64(HMAC-SHA256(timestamp, base64(access_key))). |
secret-key-timestamp | string | required | Current time in milliseconds since UNIX epoch, used to compute secret-key. Must match server time. |
content-type | string | required | application/jsone.g. application/json |
developer_keystringRequiredStatic API key issued to your account after KYC.
secret-keystringRequiredDynamic per-request signature: base64(HMAC-SHA256(timestamp, base64(access_key))).
secret-key-timestampstringRequiredCurrent time in milliseconds since UNIX epoch, used to compute secret-key. Must match server time.
content-typestringRequiredapplication/json
example: application/json
Responses
statusnumberPrimary success indicator (0 = success).
messagestringHuman-readable response / error message.
response_status_idnumberGranular status id; see the shared error-codes table.
response_type_idnumberA unique id for every possible response shape (success or error) — useful for client logic branching and analytics.
dataobjectAPI-specific response payload.
consent_detailobjectConsent content, short statement, and audio URL.
consentContentstringFull Aadhaar e-KYC consent text.
consentstringShort consent statement to display.
audioUrlstringAudio rendition of the consent in the chosen language.
consentIdnumberConsent identifier.
consentLanguagestringLanguage of the returned consent.