cURL
curl --request POST \ --url https://dataapi.dncscrub.com/v1.5/OAuth/token \ --header 'Content-Type: multipart/form-data' \ --header 'loginId: <api-key>' \ --form 'client_id=<string>' \ --form 'client_secret=<string>' \ --form 'grant_type=<string>'
{ "token_type": "<string>", "expires_in": 123, "access_token": "<string>" }
Obtain an OAuth 2.0 access token for API authentication
LoginId Authentication: Authenticate using the LoginId generated from DNCScrub User Manager. In HTTP header place "loginId: {loginId}"
Success