REST API
API reference
Manage your whole CubePath infrastructure from code: 308 endpoints across 24 products, generated straight from the live API.
Welcome to CubePath Cloud! Our API helps you manage your cloud infrastructure with ease. Create servers, manage networks, handle payments, and more - all through simple API calls.
AI assistants (MCP)
Everything below is also available to AI assistants through an MCP server, so you can operate your infrastructure in plain language: mcp.cubepath.com has the install snippet for every client, the full tool list and how permissions work.
Base URL
Every request goes over HTTPS to the API host below. Request and response bodies are JSON.
https://api.cubepath.comAuthentication
Authenticate with an API token, sent as a Bearer token or in the X-API-Key header. Create a token in the dashboard and keep it secret: it acts with your permissions.
curl https://api.cubepath.com/projects/ \
-H "Authorization: Bearer $CUBEPATH_API_TOKEN"
# or, equivalently
curl https://api.cubepath.com/projects/ \
-H "X-API-Key: $CUBEPATH_API_TOKEN"Errors
Errors use standard HTTP status codes and return a JSON body with a human-readable detail. Validation errors return 422.
{
"detail": "VPS not found"
}Rate-limited responses carry X-RateLimit-Limit, X-RateLimit-Remaining and X-RateLimit-Reset headers; a 429 means you should wait until the reset.
Products
4 endpoints
31 endpoints
6 endpoints
18 endpoints
24 endpoints
19 endpoints
36 endpoints
13 endpoints
6 endpoints
6 endpoints
18 endpoints
9 endpoints
1 endpoint
39 endpoints
22 endpoints
25 endpoints
3 endpoints
6 endpoints
4 endpoints
3 endpoints
11 endpoints
2 endpoints
1 endpoint
1 endpoint