The following endpoints now require authentication:
- URL:
/status?token=YOUR_TOKEN - Purpose: Detailed bot status, memory usage, uptime
- Authentication: Query parameter or
X-Auth-Tokenheader
- URL:
/uptime?token=YOUR_TOKEN - Purpose: Web interface for bot monitoring
- Authentication: Query parameter required
- URL:
/(root) - Purpose: Basic "alive" status for UptimeRobot
- Info: Limited to basic status only
- URL:
/ping - Purpose: Simple "pong" response for monitoring
- Info: No sensitive data exposed
gdvn-bot-admin-2025
Set environment variable:
STATUS_TOKEN=your-secure-random-token-here
Use the public ping endpoint for monitoring:
https://your-repl-url.repl.co/ping
This endpoint requires no authentication and is safe for external monitoring services.
- Change default token in production
- Use HTTPS when possible
- Monitor access logs for unauthorized attempts
- Keep monitoring URLs private
- Use strong, random tokens
# Public health check (safe)
curl https://your-bot.repl.co/
# Public ping (safe)
curl https://your-bot.repl.co/ping
# Protected status (requires token)
curl https://your-bot.repl.co/status?token=your-token
# Protected monitoring page
https://your-bot.repl.co/uptime?token=your-tokenYour bot is now secure for production use!