# API: Get server details
# getServerDetails
Get server details. Warning.: This method returns decrypted server password.
# Required parameters
Parameter | Description |
---|---|
id | Server ID |
# Request
GET /admin/api.php?api_id=API_ID&api_key=API_KEY&call=getServerDetails&id=ID
# PHP Samples
# Response
{
"success": true,
"server": {
"id": "2",
"group_id": "2",
"default": "1",
"name": "cPanel",
"username": "root",
"password": "e1f1t131s",
"ip": "127.0.0.1",
"host": "",
"status_url": "",
"ns1": "ns1.hostbillapp.com",
"ns2": "ns2.hostbillapp.com",
"ns3": "",
"ns4": "",
"ip1": "",
"ip2": "",
"ip3": "",
"ip4": "",
"max_accounts": "0",
"default_module": "9",
"hash": "",
"secure": "1",
"enable": "1",
"field1": "",
"field2": "",
"group_name": "cPanel"
},
"call": "getServerDetails",
"server_time": 1317712797
}