latestOpenAPI 3.0.2cPanel License2026-08-106251554.3 MB

3da41671c02c

Greylisting
Spam Protection (Greylisting)

Return Greylisting trust status of server netblock

This function returns the Greylisting trusted status of the server's netblock.

get/cpgreylist_is_server_netblock_trusted

Response

HTTP Request was successful.

Example response

{
  "data": {
    "ip_blocks": {
      "10.0.0.0-10.255.255.255": 1,
      "199.0.0.0-199.3.255.255": 1,
      "48.0.0.0-48.255.255.255": 1
    }
  },
  "metadata": {
    "command": "cpgreylist_is_server_netblock_trusted",
    "reason": "OK",
    "result": 1,
    "version": 1
  }
}