Skip to main content

Authentication

All the APIs are protected using API Key authentication. API Key can be generated after creating an account and logging into the portal.

Getting your API Key

API Key can be generated in the Quick Verification Portal. API Key Generation

Usage

The API Key should be sent in the header of all APIs. Replace API_KEY_VALUE in the example below with your own API Key.

curl -L -X POST 'https://api.trential.dev/verification/api/1.0/verifications/pan' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'x-api-key: API_KEY_VALUE' \
--data-raw '{
"digilocker": false,
"pan": "ABCDF2142E"
}'