API Documentation
Integrate UltimateAuth into your applications with our powerful and easy-to-use REST API. Authenticate users, manage licenses, and track analytics with simple HTTP requests.
Authentication
Manage user authentication, registration, and session tokens.
/api/auth/registerRegister a new user account.
1{
2 "email": "user@example.com",
3 "password": "securePassword123",
4 "username": "newuser"
5}1{
2 "success": true,
3 "message": "User registered successfully",
4 "token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9..."
5}/api/auth/loginAuthenticate a user and receive a session token.
1{
2 "email": "user@example.com",
3 "password": "securePassword123"
4}1{
2 "success": true,
3 "token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...",
4 "user": {
5 "id": "user_123",
6 "email": "user@example.com",
7 "subscription": "developer",
8 "hwid": "A1B2-C3D4-E5F6-G7H8",
9 "ip": "192.168.1.100"
10 }
11}Applications
Create and manage your applications.
/api/applicationsList all applications owned by the authenticated user.
1{
2 "success": true,
3 "applications": [
4 {
5 "id": "app_1",
6 "name": "My Awesome App",
7 "status": "active",
8 "version": "1.0.0",
9 "users": 150
10 }
11 ]
12}/api/applicationsCreate a new application.
1{
2 "name": "New App",
3 "version": "1.0.0",
4 "description": "A new project"
5}1{
2 "success": true,
3 "application": {
4 "id": "app_2",
5 "name": "New App",
6 "secret": "sk_live_abc123def456",
7 "status": "active",
8 "createdAt": "2023-11-22T10:00:00Z"
9 }
10}Licenses
Generate and validate licenses for your applications.
/api/licenses/validateValidate a license key.
1{
2 "license": "KEY-1234-5678-90AB",
3 "hwid": "hwid_signature_here"
4}1{
2 "success": true,
3 "valid": true,
4 "expiry": "2025-12-31T23:59:59Z"
5}/api/licenses/activateActivate a license key for a specific HWID.
1{
2 "license": "KEY-1234-5678-90AB",
3 "hwid": "hwid_signature_here"
4}1{
2 "success": true,
3 "message": "License activated successfully"
4}App Users
Manage end-users for your applications.
/api/users?appId=app_1Get a list of users for a specific application.
1{
2 "success": true,
3 "users": [
4 {
5 "id": "u_1",
6 "username": "gamer123",
7 "status": "active"
8 },
9 {
10 "id": "u_2",
11 "username": "playerOne",
12 "status": "banned"
13 }
14 ]
15}File Management
Securely manage and serve files.
/api/files/download/:fileIdGet a secure download URL for a file.
1{
2 "success": true,
3 "url": "https://cdn.ultimateauth.com/secure/..."
4}Variables
Manage global and user-specific variables.
/api/variables/:keyRetrieve a global variable by key.
1{
2 "success": true,
3 "value": "config_value_123"
4}Analytics
Track application usage and events.
/api/analytics/eventLog a custom event.
1{
2 "event": "button_click",
3 "data": {
4 "buttonId": "start_game"
5 }
6}1{
2 "success": true
3}