ZeroAuth Discord Bot Integration & Server Setup

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 Active

Authorize 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.

Add ZeroAuth Bot

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 Roblox loadstring.
  • /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

ActionPermissionMethodDescription
statusPublic / MemberGET or POSTReturns project health, script list, and Get-Key portal config. Cached for 20s (X-ZeroAuth-Cache).
link_discordMember Self-ServicePOSTValidates a license key, redeems it if unredeemed, and binds it to the caller Discord User ID (/redeem). Automatically invalidates affected read caches.
get_loaderMember Self-ServicePOSTGenerates a personalized 1-line Roblox loadstring pre-populated with the user linked key + project Get-Key URL (/getscript). Cached for 30s.
reset_hwidMember (Self) / Owner (Bypass)POSTClears bound hardware devices for the caller Discord ID while enforcing hwidResetCooldownHours. Passing bypassCooldown or another user key is Server Owner Only.
lookup_keyMember (Self) / Owner (Any)POSTInspects key type, expiration, bound device count, and masked HWID previews. Looking up another user or raw key is Server Owner Only.
panel_infoServer Owner OnlyPOSTFetches full deployment metrics and panel configuration for spawning or updating the interactive buyer panel (/panel). Restricted strictly to the Server Owner.
mint_keyServer Owner OnlyPOSTMints 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_keyServer Owner OnlyPOSTImmediately revokes a license key (/revoke) so subsequent executor authentication requests fail with ZA_KEY_REVOKED. Server Owner Only.