Return koality authentication token

This function returns the long-lived application token used to authenticate with koality's authentication servers.

SecurityBasicAuth
Responses
200

HTTP Request was successful.

Response Schema: application/json
apiversion
integer

The version of the API.

func
string

The name of the method called.

module
string

The name of the module called.

object
get/SiteQuality/get_app_token
Request samples
uapi --output=jsonpretty \
  --user=username \
  SiteQuality \
  get_app_token
Response samples
application/json
{
  • "apiversion": 3,
  • "func": "get_app_token",
  • "module": "SiteQuality",
  • "result": {
    • "data": {
      • "app_token": "eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9..."
      },
    • "errors": null,
    • "messages": null,
    • "metadata": { },
    • "status": 1,
    • "warnings": null
    }
}