This function returns the cPanel account's Sitejet API token.
uapi --output=jsonpretty \ --user=username \ Sitejet \ get_api_token
{- "apiversion": 3,
- "func": "get_api_token",
- "module": "Sitejet",
- "result": {
- "data": "d35d8ea651007ccd25f96486cdcdXXXX",
- "errors": null,
- "messages": null,
- "metadata": {
- "transformed": 1
}, - "status": 1,
- "warnings": null
}
}