Use this file to discover all available pages before exploring further.
Quick login for returning users. The bot generates a login code directly and DMs it to the user, who enters it on the frontend.Only works for existing users. New signups must use the web-initiated flow. The bot’s /otp command tries quick login first, then falls back to checking for a pending web code.
User types /login in Discord or Telegram
Bot calls this endpoint with the user’s platform identity
Bot receives the code and DMs it to the user
User visits the frontend, clicks “I already have a code”, enters the code
If a code already exists for this platform identity (e.g. user spammed /login), the same code is returned with the remaining TTL. No duplicate codes are created.
Bot-initiated codes do not use IP binding. Security relies on: bot API key authentication, the 8-character random code with 10-minute TTL, and platform DM delivery ensuring only the correct user receives the code.
After 5 consecutive bot logins without a web login, this endpoint returns 403 with "Web login required". The counter resets when the user completes a web-initiated login via POST /v1/authentication/verify. Configurable via BOT_LOGIN_WEB_REQUIRED_EVERY.