Authentication

Get Account Token

Returns an Account access token when provided with a valid ClientId and ClientSecret. This token is used to perform administrative tasks like creating / modifying end user profiles and reporting.

post/api/v1/oauth/account/token

Request

  • Base URL
    https://api.sahha.ai (the document declares no server; this is the origin it was published from)
  • Auth
    API key in header Authorization

Request body

clientIdstring

ClientId retrieved from logging in to https://app.sahha.ai.

clientSecretstring nullable

Client Secret retrieved from logging in to https://app.sahha.ai.

Example request

{
  "clientId": "12Ch2mfWwgZJdb1hFao7p1sx8xm2GPxA",
  "clientSecret": "a1QB23452qr7z2SX9Cieod5plwSjxu2l4tUjhBpZfE4eDWIhciOqn2jY22UGvWQj"
}

Response

Returns a token response

accountTokenstring nullable
tokenTypestring nullable

Changes

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