The /api/1.2/ endpoint is a KeyAuth-compatible API on your own server. All requests are form-encoded POST with: type, name, ownerid, secret, version.

Endpoints

initownerid, secret, version, name
Verify app credentials. Returns sessionid.
checkinitownerid, secret
Check initialization state.
registerusername, password, license (optional)
Register a new application user.
loginusername, password
Issue a session token.
logoutsessionid
Invalidate a session.
licensekey, hwid (optional)
Activate/validate a license key.
checksessionid, hwid (optional)
Verify session + fetch app/user info & stats.
upgradekey
Bind a premium license to a user → PREMIUM.
setvarsessionid, var, value
Store a user variable.
getvarsessionid, var
Read a user variable.
banusername
Ban a user (revoke sessions).
fetchOnline
List online users.
fetchStats
App statistics (numUsers, numOnline, numKeys...).
chatget
Get chat messages.
chatsendmessage
Send a chat message.
checkblacklist
Check blacklist status.
webhookurl
Register webhook URL.
downloadfile
Download an app file.
logmessage
Write an audit log line.
changeUsernameusername, sessionid
Change a user's username.
forgotemail
Password reset request.

Response Format

{
  "success": true,
  "newSession": true,
  "sessionid": "...",
  "contents": "",
  "response": "",
  "message": "success",
  "download": "",
  "info": {},
  "appinfo": {},
  "messages": [],
  "users": []
}