OmniFlow API
PHP 8.x cPanel Ready
Not Authenticated

OmniFlow Architecture & System Status

OmniFlow is a lightweight, pure PHP 8.x RESTful API backend engineered specifically for cPanel shared and VPS hosting environments. It provides token-based security, modular job scheduling, execution logging, and real-time administrative analytics without external vendor bloat.

Architecture
Pure PHP
PDO + Custom HS256 JWT
Target Host
cPanel
Apache + MySQL 8.x
Response Protocol
JSON
{ success, data, error }
Latency / Perf
< 180ms
Zero Vendor Delay

Registered API Routes

HTTP Method Endpoint Route Auth Required Description
POST /api/auth/login.php Public Authenticates user/bot and returns JWT token + role.
GET /api/modules.php Bearer Token Fetches list of active system modules for dynamic UI rendering.
GET /api/tasks/pending.php Bearer Token Retrieves pending job queue for Desktop/Mobile runners.
POST /api/tasks/update.php Bearer Token Updates task execution status & logs results in DB transaction.
GET /api/admin/stats.php Admin Bearer Aggregates system users, accounts, task stats & activity logs.

🔑 Authentication & JWT Management

🛡️ Active Bearer JWT Token

// Login to generate JWT token...

🧩 Active Application Modules (GET /api/modules.php)

// Click "Fetch Active Modules" to execute API request...

⚙️ Pending Task Queue (GET /api/tasks/pending.php)

Task ID Platform Account Task Type Status Scheduled At Action
Click "Refresh Tasks" or select a platform to fetch pending tasks.

📊 Admin Aggregated Stats (GET /api/admin/stats.php)

// Admin JWT Token required. Click "Fetch Admin Stats" to execute...