# API: Get Apps:Servers list

# getAppServers

Get list of servers defined under App (i.e.: Settings->Apps->cPanel)

# Required parameters

Parameter Description
group Apps group ID

# Request

GET /admin/api.php?api_id=API_ID&api_key=API_KEY&call=getAppServers&group=GROUP

# PHP Samples

# Response

{
    "success": true,
    "servers": [
        {
            "id": "2",
            "name": "cPanel",
            "host": "",
            "ip": "127.0.0.1",
            "max_accounts": "0",
            "accounts": "4",
            "module": "Cpanel",
            "type": "Hosting",
            "default": "1"
        }
    ],
    "call": "getAppServers",
    "server_time": 1317712765
}
Last Updated: 10/7/2024, 2:36:43 PM