Skip to main content
POST
/
v1.5
/
OAuth
/
token
Get oAuth 2.0 token Note the oAuth specification is for a form post of client_id, client_secret, grant_type, not a JSON post
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>"
}

Authorizations

loginId
string
header
required

LoginId Authentication: Authenticate using the LoginId generated from DNCScrub User Manager. In HTTP header place "loginId: {loginId}"

Body

multipart/form-data
client_id
string
client_secret
string
grant_type
string

Response

Success

token_type
string | null
expires_in
integer<int32>
access_token
string | null