Fetch Health ID XML from DigiLocker

Fetches the user's Health ID document from DigiLocker and returns it as an XML file. Requires a valid reference key obtained from /digilocker/get_reference. Use this endpoint after the user has completed the DigiLocker flow and consented to share their Health ID document.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params
string
required
^[0-9a-zA-Z_\-]+$

Reference key obtained from /digilocker/get_reference.

Responses

400

Invalid request or reference key

401

Unauthorized - Invalid or missing API key or client ID

404

Not Found - The requested resource was not found

500

Internal Server Error - Unexpected error occurred

Language
Credentials
LoadingLoading…
Response
Click Try It! to start a request and see the response here!