- API Key: Passed in the request headers for every call. The API key is also referred to Was the LoginId.
- OAuth 2.0 Available for systems that require token-based authorization flows.
API Key Authentication
Create an API User
In the DNCScrub portal, navigate to User Admin. Create a new user that will be used for API access.
- Give the user a distinct full name like “API User - Do Not Delete” so it won’t be accidentally removed
- The recommended username is
apiuser(though any username works) - Set the user role to Administrator
Generate the API Key
After creating the user, click the “Get API Key” button. The API Key will be displayed in the “API Key” field and can be copied to your clipboard.
Using Your API Key
Include the API key in the HTTP header of every request:| Header Key | Value |
|---|---|
loginId | Your API Key |
Example with cURL
Example with JavaScript
Example with C#
OAuth 2.0 Authentication
For enhanced security, CCC APIs support OAuth 2.0 authentication in addition to API key authentication.OAuth Token API Playground
Try the OAuth token endpoint directly in the API playground.
OAuth Flow
Token Request
Request Parameters
| Parameter | Condition | Description |
|---|---|---|
client_id | Required | Your Account Id such as DEMO |
client_secret | Required | An API Key generated from DNCScrub.com portal. |
grant_type | Required | Must be set to client_credentials |