Return app contact importance setting

This function retrieves the importance level of an application's events for WHM's Contact Manager interface (WHM >> Home >> Server Contacts >> Contact Manager).

Note:

The system creates a notification setting for the application's events if one does not already exist.

Authorizations:
query Parameters
app
required
string

The cPanel & WHM application module's name.

Example: app=Check

Responses

Response Schema: application/json
object
object

Request samples

whmapi1 --output=jsonpretty \
  get_application_contact_importance \
  app='Check'

Response samples

Content type
application/json
{
  • "data": {
    • "importance": 0,
    • "name": "Disabled"
    },
  • "metadata": {
    • "command": "get_application_contact_importance",
    • "reason": "OK",
    • "result": 1,
    • "version": 1
    }
}