cPanel/Contactus
cPanel module

Contactus

1 functions, invoked through the cpanel_uapi tool.

scope cpanel:uapi
Call any function with cpanel_uapi(service_id, module="Contactus", function, params). Live availability depends on the cPanel features JetHost has enabled on your account — call list_cpanel_operations to see what is active.

is_enabled GET#

Return whether contact option is enabled

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

No parameters.

Response — normalized as { ok, data, errors[], warnings[] }; data contains:

enabledinteger
Whether the cPanel account can contact their hosting provider from the cPanel interface. 1 — The cPanel account can contact their hosting provider from the cPanel interface. 0 — The cPanel account cannot contact their hosting provider from the cPanel interface.
One of: 0 1