Pterodactyl v0.7 API Documentation
Welcome to the Pterodactyl v0.7 API documentation. This is a minimalistic version of the API reference for legacy installations.
Legacy Version
Pterodactyl v0.7 is deprecated. Please upgrade to the latest version as soon as possible. This documentation is provided for legacy installations only.
Base URL
All API requests should be made to:
https://your-panel-domain.com/api
Authentication
API requests require authentication using Bearer tokens:
curl -X GET "https://your-panel.com/api/client" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Accept: application/json"
Getting API Keys
- Client API Key: Generate from your account settings (
/account/api
) - Application API Key: Generate from admin panel (
/admin/api
)
Rate Limiting
API requests are limited to 240 requests per minute.
API Categories
Client API (/api/client
)
Manage your servers, files, databases, and account settings.
- Account Management
- Server Management
- File Management
- Database Management
- Schedule Management
- Network Management
- User Management
- Backup Management
Application API (/api/application
)
Administrative functions for managing the panel.
Response Format
All responses follow this format:
{
"object": "list",
"data": [...],
"meta": {
"pagination": {...}
}
}
Error Handling
Errors return HTTP status codes with details:
{
"errors": [
{
"code": "ValidationException",
"status": "422",
"detail": "The given data was invalid."
}
]
}