Emver
Emver
Profiden+ Blog
Documents & Biometrics

Aadhaar Masking API

Upload an Aadhaar image or PDF and receive a copy with the first eight digits masked, as regulations require before storage. Keep only the compliant version and stop unmasked Aadhaar copies from ever landing in your systems.

Response
Real-time
Inputs
1 required
Consent
Not required
Billing
Per successful call
POST /v1/aadhaar-masking
Sandbox · Production
  1. Your application sends

    • Aadhaar image or PDF*
  2. Profiden API

    Validates the request, queries the source, normalises the answer and logs the call. Billed only on success.

  3. Verified with

    Profiden document intelligence

  4. You receive

    • Masked document
    • Number detected (yes/no)
    • Confidence flag
aadhaar-masking Full reference

What the Aadhaar Masking API does

Storing unmasked Aadhaar copies is a compliance risk. The Aadhaar Masking API detects the number on the document, in any orientation and on both sides, and returns a masked copy ready for storage, with a confidence flag when manual review is advisable.

Use it at every intake point, from candidate uploads to email attachments, so the compliant version is the only version.

Benefits of the Aadhaar Masking API

Automatically mask the first eight digits on Aadhaar images and PDFs.

Compliant by default

Only masked copies reach storage.

Instant

Runs inline during upload.

Handles real documents

Rotated, both-sided and multi-page uploads.

Review flag

Low-confidence cases are surfaced instead of silently stored.

Use cases

Aadhaar Masking API use cases

Where the Aadhaar Masking API is typically called, and what it settles there.

Candidate document uploads

Mask before the file is attached to the case.

Email and WhatsApp intake

Clean attachments received over messaging channels.

Archive remediation

Mask legacy copies already in storage.

Account opening

Compliant KYC document handling.

How the Aadhaar Masking API works

Request and response details, environments and a ready-to-import collection are in the developer console at console.profiden.com.

01

Authenticate

Call with your organisation API key. Sandbox and production use the same contract.

02

Send the inputs

Aadhaar image or PDF as a JSON body. Optional fields sharpen the match.

03

We verify at source

Profiden queries the authoritative record, normalises the answer and logs the request.

04

Act on the result

A verification status plus the fields listed above, in the same response envelope as every other API.

Built for the DPDP Act 2023

Consent recorded · Payloads not retained beyond your retention window · Every request traceable

Encryption in transit and at rest
Data processed in India
Per-request audit trail
Masked identifiers in responses

Aadhaar Masking API: frequently asked questions

What teams ask before adding the Aadhaar Masking API to their integration.

No. The original is processed and purged; only the masked output is returned.

Yes. Scans, photocopies, phone photos and PDFs are supported.

Related APIs

APIs that usually run alongside the Aadhaar Masking API, on the same key.

All APIs

Get access to the Aadhaar Masking API

Tell us your use case and expected volume. We set up the organisation, share per-call pricing and issue keys.