Klara authentication generic

Generate tokens to use Klara specific endpoint

Use this endpoint to get the access token for a specific user, and refresh token. <br />A grant_type of password is used for a Password grant, which requires username, password, access token, refresh token from scratch.<br />A grant_type of refresh_token is used for a Refresh token grant, which is used for acquiring the access token using refresh token.

post/core/latest/generic-token

Request

  • Base URL: https://api.klara.ch
  • URL: https://api.klara.ch/core/latest/generic-token
  • Auth: none declared

Response

Token created

access_tokenstring

Token used to access KLARA Public API endpoints, should be place at Authorization header of request. Access token is valid only for one company tenant

expires_ininteger

Amount of time in seconds left that the access token is valid for

refresh_expires_ininteger

Amount of time in seconds left that the refresh token is valid for

refreshTokenstring

Token used to renew the access token

token_typestring

Type of access token that should be included in the Authorziation header of each request

Changes

No recorded changes to this operation across all 1 revision of this API.