Add & Configure the Discord Bot
Add the official ZeroAuth Discord bot to your community server, save your Guild ID and Server Owner Discord ID inside your project's Deploy & SDK settings, and manage buyers cleanly. Sensitive server commands are strictly restricted to the Discord Server Owner only.
Invite ZeroAuth Bot to Your Discord Server
OAuth2 Invite ActiveAuthorize the official ZeroAuth Discord bot on your main and backup Discord servers. Administrator / role permissions let the bot deliver buyer panels, assign verified roles, and trigger automatic backup failover.
1. Add Bot to Your Server
Use the invite button above once enabled and grant Send Messages, Embed Links, and Manage Roles so buyer roles can be assigned automatically.
2. Configure Server Settings
Open Dashboard → Deploy & SDK and enter your Discord Guild ID, Server Owner Discord ID, Buyer Role ID, and Panel Channel ID.
3. Server Owner Only Enforcement
Sensitive commands (/panel, /genkey, /revoke, cross-user /lookup, and cooldown bypasses) reject anyone except the verified Server Owner.
Member Self-Service Commands
Available to community members inside your server when self-service is enabled:
/redeem <key>— Links your license key to your own Discord User ID./getscript— Fetches your private 1-line Robloxloadstring./resethwid— Clears your own bound HWID slot respecting the project cooldown./mykey— Checks your own key status and expiration timestamp.
Server Owner Only Sensitive Commands
Strictly blocked for staff, moderators, and members — only guild.ownerId / your configured ownerDiscordUserId can run these:
/panel— Spawns or refreshes the server verification panel (panel_info)./genkey— Mints new permanent, timed, or subscription keys (mint_key)./revoke <key>— Immediately revokes any license key (revoke_key)./lookup&/adminresethwid— Inspects other users' keys or resets HWID without cooldown.
Endpoint Reference: /api/v1/bot
| Action | Permission | Method | Description |
|---|---|---|---|
| status | Public / Member | GET or POST | Returns project health, script list, and Get-Key portal config. Cached for 20s (X-ZeroAuth-Cache). |
| link_discord | Member Self-Service | POST | Validates a license key, redeems it if unredeemed, and binds it to the caller Discord User ID (/redeem). Automatically invalidates affected read caches. |
| get_loader | Member Self-Service | POST | Generates a personalized 1-line Roblox loadstring pre-populated with the user linked key + project Get-Key URL (/getscript). Cached for 30s. |
| reset_hwid | Member (Self) / Owner (Bypass) | POST | Clears bound hardware devices for the caller Discord ID while enforcing hwidResetCooldownHours. Passing bypassCooldown or another user key is Server Owner Only. |
| lookup_key | Member (Self) / Owner (Any) | POST | Inspects key type, expiration, bound device count, and masked HWID previews. Looking up another user or raw key is Server Owner Only. |
| panel_info | Server Owner Only | POST | Fetches full deployment metrics and panel configuration for spawning or updating the interactive buyer panel (/panel). Restricted strictly to the Server Owner. |
| mint_key | Server Owner Only | POST | Mints 1-10 permanent, timed, or subscription keys directly from Discord (/genkey) and optionally binds the first key to a Discord user. Server Owner Only. |
| revoke_key | Server Owner Only | POST | Immediately revokes a license key (/revoke) so subsequent executor authentication requests fail with ZA_KEY_REVOKED. Server Owner Only. |