...
Code Block |
---|
curl --location --request POST 'https://radv3v3.risklens.com/auth/connect/token' \ --header 'Content-Type: application/x-www-form-urlencoded' \ --header 'User-Agent: PostmanRuntime/7.26.8' \ --header 'Accept: */*' \ --data-urlencode 'grant_type=client_credentials' \ --data-urlencode 'client_id=your_client_id' \ --data-urlencode 'client_secret=your_client_secret' \ --data-urlencode 'audience=api' \ --output 'token.json' |
The response provides you an access token, specifies how long it is valid for, and the token type. All tokens that are returned are current bearer tokens. These tokens are used on all subsequent calls to the RiskLens API. When the token expires, you will need to request a new token.
...