Return Sitejet API token

This function returns the cPanel account's Sitejet API token.

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/Sitejet/get_api_token
Request samples
uapi --output=jsonpretty \
  --user=username \
  Sitejet \
  get_api_token
Response samples
application/json
{
  • "apiversion": 3,
  • "func": "get_api_token",
  • "module": "Sitejet",
  • "result": {
    • "data": "d35d8ea651007ccd25f96486cdcdXXXX",
    • "errors": null,
    • "messages": null,
    • "metadata": {
      • "transformed": 1
      },
    • "status": 1,
    • "warnings": null
    }
}