BrandKwikID Documentation
API SuiteeKYC & DigiLocker

Get XML (PAN/Aadhaar/etc)

Retrieves XML data for a specific document from Digilocker using the document URI.

Try itLoading playground…
Loading…
AuthorizationBearer <token>

JWT Bearer token authentication. Obtain a token from the KwikID dashboard.

In: header

Header Parameters

AccessTokenstring

Access token for retrieving document data.

Formatstring
DocumentURIstring

Document URI identifier for the specific document to retrieve.

Formatstring

Empty Object

Response Body

curl -X POST "https://__mock__/verification/v2/digilocker/get_document_xml" \  -H "AccessToken: string" \  -H "DocumentURI: string" \  -H "Content-Type: application/json" \  -d '{}'
{
  "document_xml": {}
}
{
  "detail": {},
  "message": "string"
}
{
  "detail": {},
  "message": "string"
}
{
  "error": "string"
}