API Types
Application API
The Application API is designed for administrative tasks and full system management. It provides complete control over the Panel, including:- Managing users, nodes, and locations
- Creating and modifying servers
- Managing nests and eggs
- Allocating resources
- Database administration
/api/application
Authentication: Requires an Application API key with specific resource permissions.
Use Cases:
- Billing system integration
- Automated server provisioning
- Administrative automation
- External control panels
Client API
The Client API allows users to manage their own servers and account settings. It provides:- Server power management
- File management operations
- Database management for assigned servers
- Schedule and backup management
- Account settings and API key management
/api/client
Authentication: Requires a Client API key or session authentication.
Use Cases:
- Custom control panels
- Mobile applications
- Server management tools
- Automated server tasks
API Resources
Application API Resources
The Application API exposes the following main resources:- Users (
/api/application/users) - User management - Nodes (
/api/application/nodes) - Node management and configuration - Locations (
/api/application/locations) - Location management - Servers (
/api/application/servers) - Server administration - Nests (
/api/application/nests) - Nest and egg management
Client API Resources
The Client API provides access to:- Account (
/api/client/account) - Account settings and API keys - Servers (
/api/client/servers/{server}) - Individual server management - Files - File manager operations
- Databases - Database management
- Schedules - Task scheduling
- Backups - Backup management
- Network - Allocation management
Request Format
All API requests must:- Include proper authentication headers
- Use JSON for request bodies (where applicable)
- Set
Content-Type: application/jsonheader - Set
Accept: application/jsonheader
Response Format
All API responses are returned in JSON format with the following structure:Pagination
List endpoints support pagination with the following query parameters:page- The page number to retrieveper_page- Number of items per page (max varies by endpoint)
Filtering and Includes
Many endpoints support:- Filtering:
?filter[field]=value - Includes:
?include=subusers,allocations
Error Handling
See the Errors page for detailed information on error responses.Next Steps
Authentication
Learn how to authenticate API requests
Rate Limiting
Understand API rate limits
