LibreAuth API
POST https://libreauth.nutexe.dev/api/1.3/
SDKs All
INFO
Reference only — the live API accepts requests from official SDKs with wire authentication. Use Client SDKs to integrate.
Client API

Send Log

POST https://libreauth.nutexe.dev/api/1.3/

Send a client log message to Event Logs → Application Logs. Max 255 characters. Optional pcuser label. When Log IP is enabled in panel, client IP is stored. Can forward to Discord if Client Logs webhook event is on.

LibreAuth API v1.3 · type=log

Query Params

type string required
Example: log
Request action name
name string required
Example: MyApp
Application name
ownerid string required
Example: XXXXXXXXXX
10-character Owner ID
sessionid string required
Example: your_session_id
Session ID returned by init
message string required
Example: User opened menu
Log text (max 255 chars)
pcuser string optional
Example: DESKTOP-PC
PC / machine username

Request Code Samples

Shell
curl -X POST 'https://libreauth.nutexe.dev/api/1.3/' \
  -H 'Content-Type: application/x-www-form-urlencoded' \
  -d 'type=log&name=MyApp&ownerid=XXXXXXXXXX&sessionid=your_session_id&message=User+opened+menu&pcuser=DESKTOP-PC'
Go
app := libreauth.New("MyApp", "XXXXXXXXXX", "1.0", "https://libreauth.nutexe.dev/api/1.3/")
app.Init()
app.Log("User opened menu", "DESKTOP")
PHP
<?php
$ch = curl_init('https://libreauth.nutexe.dev/api/1.3/');
curl_setopt_array($ch, [CURLOPT_POST => true, CURLOPT_POSTFIELDS => 'type=log&name=MyApp&ownerid=XXXXXXXXXX&sessionid=your_session_id&message=User+opened+menu&pcuser=DESKTOP-PC', CURLOPT_HTTPHEADER => ['Content-Type: application/x-www-form-urlencoded'], CURLOPT_RETURNTRANSFER => true]);
echo curl_exec($ch);
Python
import requests
res = requests.post('https://libreauth.nutexe.dev/api/1.3/', data={
    'type': 'log',
    'name': 'MyApp',
    'ownerid': 'XXXXXXXXXX',
    'sessionid': 'your_session_id',
    'message': 'User opened menu',
    'pcuser': 'DESKTOP-PC'
})
print(res.json())
HTTP
POST /api/1.3/ HTTP/1.1
Host: libreauth.nutexe.dev
Content-Type: application/x-www-form-urlencoded

type=log&name=MyApp&ownerid=XXXXXXXXXX&sessionid=your_session_id&message=User+opened+menu&pcuser=DESKTOP-PC
C#
var app = new LibreAuth("MyApp", "XXXXXXXXXX", "1.0", "https://libreauth.nutexe.dev/api/1.3/");
await app.InitAsync();
await app.LogAsync("User opened menu", "DESKTOP");
C++
LibreAuth::Client app("MyApp", "XXXXXXXXXX", "1.0", "https://libreauth.nutexe.dev/api/1.3/");
app.init();
app.log("User opened menu", "DESKTOP");
JavaScript
const body = new URLSearchParams({
  type: 'log',
  name: 'MyApp',
  ownerid: 'XXXXXXXXXX',
  sessionid: 'your_session_id',
  message: 'User opened menu',
  pcuser: 'DESKTOP-PC'
});
fetch('https://libreauth.nutexe.dev/api/1.3/', { method: 'POST', headers: { 'Content-Type': 'application/x-www-form-urlencoded' }, body: body.toString() })
  .then(r => r.json()).then(console.log);
TypeScript
const app = new LibreAuth('MyApp', 'XXXXXXXXXX', '1.0', 'https://libreauth.nutexe.dev/api/1.3/');
await app.init();
await app.log('User opened menu', 'DESKTOP');
Java
LibreAuth app = new LibreAuth("MyApp", "XXXXXXXXXX", "1.0", "https://libreauth.nutexe.dev/api/1.3/");
app.init();
app.log("User opened menu", "DESKTOP");
Rust
let mut app = LibreAuth::new("MyApp", "XXXXXXXXXX", "1.0", "https://libreauth.nutexe.dev/api/1.3/");
app.init()?;
app.log("User opened menu", "DESKTOP")?;
Ruby
app = LibreAuth.new('MyApp', 'XXXXXXXXXX', '1.0', 'https://libreauth.nutexe.dev/api/1.3/')
app.init
app.log('User opened menu', 'DESKTOP')
Perl
my $app = LibreAuth->new('MyApp', 'XXXXXXXXXX', '1.0', 'https://libreauth.nutexe.dev/api/1.3/');
$app->init;
$app->log('User opened menu', 'DESKTOP');
Lua
local app = LibreAuth.new('MyApp', 'XXXXXXXXXX', '1.0', 'https://libreauth.nutexe.dev/api/1.3/')
app:init()
auth.Log('User opened menu')
React
const app = new LibreAuth('MyApp', 'XXXXXXXXXX', '1.0', process.env.REACT_APP_API_URL);
await app.Init();
await auth.Log('User opened menu');
Vue
const app = new LibreAuth('MyApp', 'XXXXXXXXXX', '1.0', import.meta.env.VITE_API_URL);
await app.Init();
await auth.Log('User opened menu');
Unity
var app = new LibreAuth("MyApp", "XXXXXXXXXX", "1.0", "https://libreauth.nutexe.dev/api/1.3/");
await app.InitAsync();
await app.LogAsync("User opened menu", "DESKTOP");
WPF
var app = new LibreAuth("MyApp", "XXXXXXXXXX", "1.0", "https://libreauth.nutexe.dev/api/1.3/");
await app.InitAsync();
await app.LogAsync("User opened menu", "DESKTOP");
VB.NET
var app = new LibreAuth("MyApp", "XXXXXXXXXX", "1.0", "https://libreauth.nutexe.dev/api/1.3/");
await app.InitAsync();
await app.LogAsync("User opened menu", "DESKTOP");

Responses

application/json · object
{
  "success": true,
  "message": ""
}