Get Access Token
After creating your access credentials, you are ready to create your token for accessing API methods.
You need to use OAuth link in the authorization section to get your access token.
You will make a http get call with grant_type, client_id and client_secret values in it. And DG AutoCheck will return your access token.
Sample access token request
In the example below, we are sending necessary information at the top, and DG AutoCheck is giving us the "access token" in return below.
GET OAuth Access Token
{{domain}}/oauth2/token
Example request
curl --location -g --request GET '{{domain}}/oauth2/token' \
--header 'Content-Type: application/x-www-form-urlencoded' \
--data-urlencode 'grant_type=client_credentials' \
--data-urlencode 'client_id=' \
--data-urlencode 'client_secret='