Logs Get

GET
https://authsecure.com/api/seller/

End/Modify user data and sessions directly securely.

Retrieve all logs from the system.

ℹ️ Supports JSON and TEXT formats.

Endpoint Details

GET /api/logs_get.php

Query Parameters

ParameterRequiredDescription
sellerkeyYesSeller API Key
formatNojson (default) or text

Success Response (JSON)

{
  "success": true,
  "logs": [
    {
      "id": 1,
      "user_id": 10,
      "ip_address": "127.0.0.1",
      "pcuser": "DESKTOP-PC",
      "logdate": "2025-01-01 12:00:00"
    }
  ]
}

Success Response (Text)

1 | 10 | 127.0.0.1 | DESKTOP-PC | 2025-01-01 12:00:00

Code Examples

fetch("http://localhost/commen/api/logs_get.php?sellerkey=KEY")
 .then(r => r.json())
 .then(console.log);
<?php
echo file_get_contents(
 "http://localhost/commen/api/logs_get.php?sellerkey=KEY"
);
?>
import requests
r = requests.get(
 "http://localhost/commen/api/logs_get.php",
 params={"sellerkey":"KEY"}
)
print(r.text)
var client = new RestClient(
 "http://localhost/commen/api/logs_get.php?sellerkey=KEY"
);
var res = client.Execute(new RestRequest(Method.GET));
Console.WriteLine(res.Content);