API Getting Started
LibreAuth REST API — all client requests use POST form-urlencoded.
Endpoint
https://libreauth.nutexe.dev/api/1.3/
LibreAuth Client API — supported versions: v1.3 (all owners) and v1.4 (Enterprise, live). All requests use POST with wire-authenticated SDK clients. See API v1.4 for sequencing, compact responses, and stricter policy.
/api/1.2/–/api/1.3/. See Protocol v2./api/1.3/ and /api/1.4/ are supported. Clients without wire token get E18 on init (or HTTP 404 on other types).Common Parameters
typeRequest action — init, login, license, check, etc.nameApplication nameownerid10-character owner IDsessionidFrom init response — required after inithwidHardware ID string from clientAuthentication Flow
init → login/license/register → check (heartbeat) → var/file/webhook → logout
File download: Public files need only init + file. Authenticated files require license or login first. See Error Codes → File flow.
Response Headers
Every signed response includes:
signature— HMAC-SHA256 of response body (all versions)X-Signature-Ed25519— Ed25519 detached signature (v1.3+ only)X-Signature-Timestamp— Unix timestamp used in Ed25519 signature (v1.3+ only)
v1.3+: Wire-authenticated SDK clients required. Responses may be AES-encrypted when enckey is set. Ed25519 signatures on v1.3+.
Response Encryption
Send enckey on init (35 chars). Responses encrypted with AES-256-CBC when enckey is set — recommended for production clients.
Ed25519 Public Key
Returned in init response as pubkey (compact p on 1.4). Embed in your client for signature verification — see Response Signing.
API Versions
| Version | URL | Access |
|---|---|---|
| v1.4 | https://libreauth.nutexe.dev/api/1.4/ | Enterprise only · live · wire SDK · compact responses |
| v1.3 | https://libreauth.nutexe.dev/api/1.3/ | All plans · wire SDK required |