Skip to main content

What is Hansel Bot?

Hansel Bot is a Discord bot management platform that provides a centralized API for managing users, guilds, bots, subscriptions, and moderation across Discord communities.

Base URLs

REST API requests are made to:
https://hapi.7331.org
Real-time WebSocket connections (Socket.IO) connect to:
https://hws.7331.org

Key Features

User Management

Manage user profiles, subscriptions, and preferences through the API.

Guild Management

Configure and manage Discord server settings, prefixes, and access.

Bot Management

Register, monitor, and manage bot instances with built-in statistics tracking.

Admin Tools

Moderate users and guilds with bans, warnings, timeouts, and subscription management.

Authentication

The API uses two authentication methods depending on the type of client:
  • User Sessions - Cookie-based authentication (hsession) for web dashboard users
  • Bot API Keys - Header-based authentication (X-API-Key) for bot instances
See the Authentication page for details on each flow.