v1

latestOpenAPI 3.0.2cPanel License2026-08-06657427.1 MB
DomainRecommendations

Check whether Domain Recommendations is enabled

This function returns the enablement status of the Domain Recommendations feature on the server.

Note:

This function requires the domain_recommendation feature. If the cPanel account does not have this feature, the function returns an error.

get/DomainRecommendations/is_enabled

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": "is_enabled",
  "module": "DomainRecommendations",
  "result": {
    "data": {
      "is_enabled": 1
    },
    "metadata": {
      "transformed": 1
    },
    "status": 1
  }
}