This function returns the long-lived application token used to authenticate with koality's authentication servers.
uapi --output=jsonpretty \ --user=username \ SiteQuality \ get_app_token
{- "apiversion": 3,
- "func": "get_app_token",
- "module": "SiteQuality",
- "result": {
- "data": {
- "app_token": "eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9..."
}, - "errors": null,
- "messages": null,
- "metadata": { },
- "status": 1,
- "warnings": null
}
}