API Documentation
Mamba Panel API
Section titled “Mamba Panel API”Welcome to the Mamba Panel API documentation. Our RESTful API enables you to integrate Mamba Panel with your existing systems, automate workflows, and build custom solutions.
Overview
Section titled “Overview”The Mamba Panel API provides programmatic access to:
- Server Management - Create, configure, and manage game servers and Discord bots
- Customer Management - Handle user accounts, permissions, and access control
- Billing Operations - Process payments, manage subscriptions, and generate invoices
- Support Tickets - Create, update, and resolve support requests
- Analytics - Retrieve usage data, metrics, and reporting
Base URL
Section titled “Base URL”All API requests should be made to:
https://api.mambapanel.io/v1Quick Start
Section titled “Quick Start”1. Get Your API Key
Section titled “1. Get Your API Key”Navigate to Settings > API Keys in your Mamba Panel dashboard to generate an API key.
2. Make Your First Request
Section titled “2. Make Your First Request”curl -X GET "https://api.mambapanel.io/v1/servers" \ -H "Authorization: Bearer YOUR_API_KEY" \ -H "Content-Type: application/json"3. Handle the Response
Section titled “3. Handle the Response”{ "success": true, "data": { "servers": [ { "id": "srv_abc123", "name": "My Minecraft Server", "game": "minecraft-java", "status": "running", "created_at": "2025-01-15T10:30:00Z" } ], "pagination": { "page": 1, "per_page": 25, "total": 1 } }}API Features
Section titled “API Features”RESTful Design
Section titled “RESTful Design”Our API follows REST principles with predictable resource-oriented URLs, standard HTTP methods, and JSON responses.
| Method | Usage |
|---|---|
GET | Retrieve resources |
POST | Create new resources |
PUT | Update existing resources |
PATCH | Partial updates |
DELETE | Remove resources |
Authentication
Section titled “Authentication”All API requests require authentication via Bearer token. See the Authentication guide for details.
Rate Limiting
Section titled “Rate Limiting”API requests are rate-limited to ensure fair usage. See Rate Limits for current limits and best practices.
Webhooks
Section titled “Webhooks”Receive real-time notifications for events in your Mamba Panel account. Configure webhooks in the Webhooks section.
SDKs & Libraries
Section titled “SDKs & Libraries”Official SDKs are coming soon for:
- Node.js / TypeScript
- Python
- PHP
- Go
Need Help?
Section titled “Need Help?”- Discord - Join our Discord community for real-time support
- Email - Contact support@mambapanel.io
- GitHub - Report issues and feature requests
Next Steps
Section titled “Next Steps”- Authentication - Learn how to authenticate API requests
- Endpoints - Explore available API endpoints
- Webhooks - Set up real-time event notifications