Nova

Add an existing AI App Builder API token

Changed on

This function adds an existing AI App Builder API token to a cPanel user.

Notes:

  • This function requires that your package includes the AI App Builder feature.
  • You can create an AI App Builder API token with the Nova::create_account function.

Important:

When you disable the AI App Builder feature, the system disables this function.

get/Nova/add_api_token

Request

  • Base URL
    https://cpanel-server.tld:2083/execute
  • Auth
    HTTP basic

Query parameters

api_tokenstring hexadecimal required
Example:d35d8ea651007ccd25f96486cdcdXXXX

The AI App Builder 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": "Nova",
  "result": {
    "metadata": {
      "transformed": 1
    },
    "status": 1
  }
}

Changes