v1

latestOpenAPI 3.0.2cPanel License2026-08-06657427.1 MB
SiteQuality

Return koality authentication token

This function returns the long-lived application token used to authenticate with <a href="https://go.cpanel.net/5k" target="_blank">koality's</a> authentication servers.

get/SiteQuality/get_app_token

Response

HTTP Request was successful.

apiversioninteger

The version of the API.

funcstring

The name of the method called.

modulestring

The name of the module called.

Example response

{
  "apiversion": 3,
  "func": "get_app_token",
  "module": "SiteQuality",
  "result": {
    "data": {
      "app_token": "eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9..."
    },
    "status": 1
  }
}