# APEX Free Zone — Upload to cPanel ## Upload 1. cPanel → File Manager → `public_html` 2. Create folder `api` (if missing) 3. Upload EVERYTHING inside `apexfreezone-api/api/` into `public_html/api/` Final paths like: - public_html/api/config.php - public_html/api/start.php - public_html/api/status.php - public_html/api/webhook.php - public_html/api/data/ (writable) 4. Make sure `api/data` is writable (chmod 755 or 775) ## Test Open: https://apexfreezone.xyz/api/ Should show JSON with `"db":"ok"` ## Connect Telegram webhook Open once: https://apexfreezone.xyz/api/setup_webhook.php Should show `"ok": true` Then DELETE `setup_webhook.php` from server. ## Bot must be admin in BOTH groups - ShopiX (-1003780072792) - Apex Zone (-1004361499476) ## Admin commands (your Telegram id 8645597820) - /lock APEX-XXXX-BOOST-XXXX - /unlock APEX-XXXX-BOOST-XXXX - /status APEX-XXXX-BOOST-XXXX Or use Unlock/Lock buttons on approval message. ## After go-live BotFather → Revoke token → paste NEW token into config.php → run setup_webhook.php again → delete setup file.