cURL
curl --request POST \ --url https://test.digitaltermination.com/oauth/token \ --header 'Content-Type: application/x-www-form-urlencoded' \ --data 'client_id=<string>' \ --data 'client_secret=<string>' \ --data 'username=<string>' \ --data 'password=<string>' \ --data grant_type=password
{ "token_type": "Bearer", "expires_in": 31536000, "access_token": "<string>", "refresh_token": "<string>" }
Generates an OAuth Token with the provided credentials
The client ID provided after onboarding
The client secret provided after onboarding
The email used to create the account
The password for authentication
The OAuth2 grant type
"password"
Generated OAuth token
"Bearer"
Token expiration time in seconds
31536000
The access token
The refresh token