This endpoint is used to obtain an access token by using client credentials or user credentials.
A successful response containing the access token.
Bad Request - Invalid request parameters.
Unauthorized - Invalid client credentials.
grant_type=client_credentials&client_id=your-client-id&client_secret=your-client-secret
{- "access_token": "eyJhbGciOi...",
- "token_type": "Bearer",
- "expires_in": 3600,
}
A successful response containing the details of the access token.
Malformed Request (ProblemDetails)
{- "roles": [
- "sites.read",
- "sites.write",
- "sites.invoke",
- "sites.management"
], - "clientId": "97b47a5b-b5f9-4838-9b46-e1d84ca7aa1f (Test Automation)",
- "expiry": "2021-03-04T15:00:00Z",
- "audience": "27010c79-524b-4daf-8016-4372c0fbafb3 (Slipstream Internal)",
- "software": [
- "Exact",
- "Dentally"
],
}