XUI.ONE User & MAG Device API: Manage Resellers and Set-Top Boxes 2026
XUI.ONE User & MAG Device API: Manage Resellers and Set-Top Boxes 2026
XUI.ONE separates top-level users from hardware-linked subscribers. This gives flexibility for advanced automation: users, MAG boxes, and Enigma receivers can each be managed with dedicated actions.
User API (Admin-Level Accounts)
create_user,edit_user,delete_userdisable_user,enable_userget_user
MAG Device API
create_mag,edit_mag,delete_magban_mag,unban_magdisable_mag,enable_mag
Enigma Device API
create_enigma,edit_enigma,delete_enigmaban_enigma,unban_enigmadisable_enigma,enable_enigma
Reusable Laravel Pattern
public function deviceAction(string $type, string $action, int $id, array $extra = []): array
{
return $this->call("{$action}_{$type}", array_merge(['id' => $id], $extra));
}
This keeps your integration clean and avoids repeated per-device controller logic.
FAQ
Q: Can I use one helper for MAG and Enigma actions?
A: Yes, build action names dynamically by device type.
Q: Should user actions and device actions be separated?
A: Yes, it keeps permissions and lifecycle logic cleaner.
Related XUI.ONE Guides
Need Device + User Automation with Billing?
Our WHMCS modules help automate IPTV account lifecycle and reduce manual panel operations.