v1

latestOpenAPI 3.0.2cPanel License2026-08-06657427.1 MB
Sitejet

Add an existing Sitejet API token.

This function adds an existing Sitejet API token to a cPanel user.

Note:

You can create a Sitejet API token with the Sitejet:create_account function.

get/Sitejet/add_api_token

Query parameters

api_tokenstring hexadecimal required
Example:d35d8ea651007ccd25f96486cdcdXXXX

The Sitejet API token to add.

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": "add_api_token",
  "module": "Sitejet",
  "result": {
    "metadata": {
      "transformed": 1
    },
    "status": 1
  }
}