v1

latestOpenAPI 3.0.2cPanel License2026-08-06657427.1 MB
cPGreyList
Spam Filtering (Greylisting)

Return whether Greylisting is enabled

This function checks whether Greylisting is enabled for the cPanel account.

get/cPGreyList/has_greylisting_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": "has_greylisting_enabled",
  "module": "cPGreyList",
  "result": {
    "status": 1
  }
}