# API: IP Details
# ipamGetIP
Returns specific IP details
# Required parameters
Parameter | Description |
---|---|
ip_id | IP Id |
# Request
GET /admin/api.php?api_id=API_ID&api_key=API_KEY&call=ipamGetIP&ip_id=IP_ID
# PHP Samples
# Response
{
"success": true,
"call": "ipamListIPs",
"server_time": 1691505809,
"ip": {
"id": "",
"ipaddress": "2a1c:11c0:12::11",
"mask": "ffff:ffff:ffff::",
"wanip": "",
"mac": "22:C5:11:11:61:11",
"flag": "0",
"server_id": "2",
"domains": "example.com",
"revdns": "example.com",
"descripton": "account #1",
"changedby": "automation",
"lastupdate": "2023-04-03 07:10:38",
"client_id": "1",
"listname": "AM-12",
"gateway": "2a0c:11:11::12",
"client_description": "",
"status": "assigned",
"vlan": "",
"vlan_name": "",
"account_id": "1",
"assigndate": "2023-04-03 08:10:37",
"private": "0",
"data": []
},
"assignment": {
"client_id": "1",
"account_id": "1",
"port": ""
},
"audit_logs": [
{
"id": "1",
"type": "ip",
"item_id": "1",
"item_name": "2a1c:11c0:12::11",
"log": "Ip 2a1c:11c0:12::11 - mac changed from '' to '11:C5:07:11:61:90', revdns changed from '2a1c:11c0:12::11.static.v.ps' to 'example.com'",
"date": "2023-04-03 08:10:39",
"changedby": "automation"
}
],
"ownership_history": [
{
"client": 0,
"account": "1",
"from": "2023-04-03 08:10:32",
"until": false
}
]
}
← Assign IP IP Details →