REST API
Authentication
The rest API uses the Oauth2 Client Credentials Grant Type for authentication. You must request an access token before accessing any endpoints.
Send a POST request to /api/oauth2/token with the following body parameters
grant_typeset toclient_credentials- requiredclient_id- requiredclient_secret- requiredscope- optional
The server will respond with a JSON object containing the access token
{
"token_type": "Bearer",
"expires_in": "<expiration in seconds>",
"access_token": "<token>"
}