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_type set to client_credentials - required
  • client_id - required
  • client_secret - required
  • scope - optional

The server will respond with a JSON object containing the access token

{
    "token_type": "Bearer",
    "expires_in": "<expiration in seconds>",
    "access_token": "<token>"
}

Endpoints