v1

latestOpenAPI 3.0.2cPanel License2026-08-06657427.1 MB
Notifications

Return server notifications total

This function returns the number of server-wide notifications on an account.

get/Notifications/get_notifications_count

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": "get_notifications_count",
  "module": "Notifications",
  "result": {
    "data": 3,
    "status": 1
  }
}