Acquire a Data API access token
POST/oauth2/v2.0/token
Acquires an app-only access token with the OAuth 2.0 client credentials grant.
Use the client secret variant when Preventos has issued a daemon client secret. Use the certificate assertion variant when the daemon authenticates with a certificate private key. MSAL or another OAuth client library is recommended for production integrations because it handles token requests, retries, token caching, and certificate assertions consistently.
Request
Responses
- 200
- 400
- 401
- 429
- default
Access token issued for the requested Data API scope.
OAuth token request failed. Check tenant, client ID, credential, grant type, scope, and retry policy.
OAuth token request failed. Check tenant, client ID, credential, grant type, scope, and retry policy.
OAuth token request failed. Check tenant, client ID, credential, grant type, scope, and retry policy.
OAuth token request failed. Check tenant, client ID, credential, grant type, scope, and retry policy.