API Reference
The Zoneweaver Frontend API provides comprehensive RESTful endpoints for user management, organization control, and server configuration. This API handles authentication, authorization, and configuration management for the Zoneweaver web interface.
Table of contents
Authentication
All API endpoints require authentication using JWT tokens in the Bearer token format:
Authorization: Bearer <jwt_token>
See the Authentication Guide for detailed setup instructions.
Base URL
The API is served from your Zoneweaver frontend server:
- HTTPS (Recommended):
https://your-server:3443
- HTTP:
http://your-server:3443
OpenAPI Specification
The Zoneweaver Frontend API is fully documented using OpenAPI 3.0 specification.
Interactive Documentation
- Live API Reference - Complete interactive API documentation with examples and testing capabilities
- Download OpenAPI Spec - Raw OpenAPI specification for tools and integrations
API Categories
The Zoneweaver Frontend API is organized into the following categories:
Authentication & Authorization
- User registration and login
- JWT token management
- Session management
- Password reset and recovery
User Management
- User profile management
- User preferences and settings
- Account administration
- Role-based access control
Organization Management
- Organization creation and configuration
- Multi-tenant organization support
- User-organization relationships
- Invitation management
Server Configuration
- Zoneweaver API server management
- Connection configuration and testing
- Server health monitoring
- API endpoint management
Settings & Configuration
- Application settings management
- Email configuration
- Security settings
- System preferences
Rate Limiting
The API currently does not implement rate limiting, but this may be added in future versions for production deployments.
Error Handling
The API uses standard HTTP status codes and returns JSON error responses:
{
"success": false,
"message": "Error description"
}
Common status codes:
200
- Success201
- Created400
- Bad Request401
- Unauthorized (Invalid or expired JWT token)403
- Forbidden (Insufficient permissions)404
- Not Found500
- Internal Server Error
Response Format
Successful responses follow this format:
{
"success": true,
"message": "Operation completed successfully",
"data": {
// Response data here
}
}
Related APIs
- Zoneweaver-API - Zone management and hypervisor control
- Zoneweaver-API Reference - Backend API documentation