Create Server
Servers
Create Server
POST
Create Server
Creates a new server on the Wings instance and begins the installation process.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/pterodactyl/wings/llms.txt
Use this file to discover all available pages before exploring further.
Authentication
Requires the Wings authentication token in theAuthorization header:
Request Body
The UUID of the server to create. Must be a valid UUIDv4 format.
Whether to automatically start the server after installation completes.
Response
Returns202 Accepted to indicate the server creation and installation process has started in the background.
Error Responses
422 Unprocessable Entity
The data provided could not be validated (e.g., invalid UUID format).
500 Internal Server Error
An error occurred while creating the server instance.
Behavior
This endpoint:- Validates the provided UUID format
- Fetches server configuration from the Panel
- Initializes the server instance in Wings
- Adds the server to the manager
- Begins installation in background:
- Creates the server environment (Docker container)
- Runs the installation process
- Optionally starts the server if
start_on_completionis true
Example Request
Example Response
Notes
- The server configuration is fetched from the Panel using the provided UUID
- Installation happens asynchronously in the background
- Monitor server logs or websocket events to track installation progress
- If installation fails, the server will remain in an installing state until manually triggered again
Source Reference
Implemented inrouter/router_system.go:61