# API: IP Logs
# ipamGetIPLogs
Returns specific IP logs
# Optional parameters
Parameter | Description |
---|---|
ip_id | IP Id |
ip | IP required if Ip Id does not set |
# Request
GET /admin/api.php?api_id=API_ID&api_key=API_KEY&call=ipamGetIPLogs
# PHP Samples
# PHP Samples: Get IP audit logs by IP ID
# PHP Samples: Get IP audit logs by IP address
# Response
{
"success": true,
"audit_logs": [
{
"id": "349236",
"type": "ip",
"item_id": "1438446",
"item_name": "1.2.3.250",
"log": "Ip 1.2.3.250 - descripton changed from '' to '1'",
"date": "2025-05-07 09:19:08",
"changedby": "admin"
},
{
"id": "349234",
"type": "ip",
"item_id": "1438446",
"item_name": "1.2.3.250",
"log": "Ip 1.2.3.250 - flag changed from '1' to '0'",
"date": "2025-05-07 09:16:23",
"changedby": "admin"
}
],
"call": "ipamGetIPLogs",
"server_time": 1753433462
}