---
title: "Return koality authentication token"
method: GET
path: "/SiteQuality/get_app_token"
tags: ["SiteQuality"]
---

# Return koality authentication token

`GET /SiteQuality/get_app_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.

## Response `200`

HTTP Request was successful.

- object
  - `apiversion` integer — The version of the API.
  - `func` string — The name of the method called.
  - `module` string — The name of the module called.
  - `result` object
    - `data` object — An object that contains user authentication attributes.
      - `app_token` string — The long-lived token for this account. The <a href="https://go.cpanel.net/5k" target="_blank">koality</a> servers require this token to authenticate. If this token is lost, the user must create a new account.
    - `errors` string[], nullable — List of errors if the API failed.
    - `messages` string[], nullable — List of messages that the API generated.
    - `metadata` object
    - `status` 0 | 1 — * `1` — Success. * `0` — Failed. Check the `errors` field for more details.
    - `warnings` string[], nullable — List of warnings that the API generated. Warnings describe non-critical failures or issues the system noted while running an API function.

---

[API](https://skmtc.net/cpanel/apis/cpanel-uapi.md) · [All operations](https://skmtc.net/cpanel/apis/cpanel-uapi/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/cpanel/cpanel-uapi/revisions/632e2f8e6d04/schema)
