Return whether contact option is enabled

This function checks whether the cPanel account can contact their hosting provider from the cPanel interface.

SecurityBasicAuth
Responses
200

HTTP Request was successful.

Response Schema: application/json
apiversion
integer

The version of the API.

func
string

The name of the method called.

module
string

The name of the module called.

object
get/Contactus/is_enabled
Request samples
uapi --output=jsonpretty \
  --user=username \
  Contactus \
  is_enabled
Response samples
application/json
{
  • "apiversion": 3,
  • "func": "is_enabled",
  • "module": "Contactus",
  • "result": {
    • "data": {
      • "enabled": 1
      },
    • "errors": null,
    • "messages": null,
    • "metadata": { },
    • "status": 1,
    • "warnings": null
    }
}