- Last Edited: 23/01/2024
- Edited By: Vishwas Anand (github@vishwas1)
Navigate to developer dashboard and login.


Now register your app and generate API sercret key
Click on +Create
button and fill the form to register an app
- Select Service - Select a which you want to associate with your app
- Cavach API service - Aadhaar verification APIs (select this serivce for Aadhaar verification)
- SSI API service - Self sovereign identity APIs
- Allowed Origins - Whitelist origins from where you will make call to your service APIs. You may add
*
to wildcard domains.
Make sure to copy and save API secret key, we will need this in a minute. You can always regenerate this key from developer dashabord
Also, click on Edit
icon on your app's card, it will open a slider where you can copy your Cavach tenant URL. Keep your cavach tenant URL handy.

Call POST https://stage.hypermine.in/developer/dashboard/api/v1/app/oauth API by passing the API secret key in the header to get accessToken
. This token your will need in all api calls you make to your Cavach Tenant API.
Now every request you make to Cavach Tenant API (Tenant URL of your app), you need to pass the above accessToken
as bearer authorization token in the header.
Takes Secure Aadhaar QR string as an input, extracts data from the QR string and verifies digital signature of UIDAI and returns true/false based on verification.
Takes base64 encoded image of the user and matches with image embedded in the secure Aadhaar QR code and returns true/false based on verification.
Note: Make sure to pass
ref_id
in the request body, Follow open API documentaion.
Generate OTP in user;s addhaar linked phone number.
Verify OTP sent to user's addhaar link phone number.
- Test Aadhaar Id:
123456789012
- Test OTP:
121212
Note: Make sure to pass
ref_id
in the request body, Follow open API documentaion.
Open API documentation (swagger): You can follow open API documenation for your Cavach APIs here:
By default no user's data is shared with the client. Only verification result are shared. But we provide a privacy preserving way to request one or more user's data. This is to ensure we are complied with India's DPDP'23 law. To request one or more user;s data, you need to form Query Request in /aadhaar/qr/verify
and /aadhaar/otp/verify
APIs. See the swagger documentation for your tenant's swagger documentation