API Documentation
API Documentation
Integrate with Sitequest programmatically. Manage VPS instances, domains, DNS records, and more.
Getting Started
Base URL, versioning, and your first API call.
Authorization
API key authentication, scopes, and rate limits.
Making Requests
Request format, response structure, and error handling.
MCP
Connect AI assistants via the Model Context Protocol.
Endpoints
| Method | Path | Description |
|---|---|---|
GET | /api/v1/ping | Health check |
GET | /api/v1/vps | List VPS instances |
GET | /api/v1/vps/:id | Get VPS details |
GET | /api/v1/vps/:id/monitoring | VPS monitoring history |
GET | /api/v1/vps/:id/traffic | VPS bandwidth usage |
POST | /api/v1/vps/:id/power | VPS power action |
POST | /api/v1/vps/:id/os | Reinstall operating system |
POST | /api/v1/vps/:id/iso | Mount or unmount ISO |
POST | /api/v1/vps/:id/reset-password | Reset root password |
POST | /api/v1/vps/:id/exec | SSH command execution |
GET | /api/v1/vps/:id/sftp/list | List directory contents |
GET | /api/v1/vps/:id/sftp/read | Read file content |
PUT | /api/v1/vps/:id/sftp/write | Write file content |
DELETE | /api/v1/vps/:id/sftp/delete | Delete file or directory |
POST | /api/v1/vps/:id/sftp/rename | Rename or move file/directory |
POST | /api/v1/vps/:id/sftp/mkdir | Create directory |
POST | /api/v1/vps/:id/sftp/chmod | Change permissions |
GET | /api/v1/domains | List domains |
GET | /api/v1/domains/:id | Get domain details |
GET | /api/v1/domains/:id/dns | List DNS records |
POST | /api/v1/domains/:id/dns | Add DNS record |
PUT | /api/v1/domains/:id/dns/:recordId | Update DNS record |
DELETE | /api/v1/domains/:id/dns/:recordId | Delete DNS record |
PUT | /api/v1/domains/:id/nameservers | Update nameservers |
PUT | /api/v1/domains/:id/transfer-lock | Set transfer lock |
PUT | /api/v1/domains/:id/whois-privacy | Set WHOIS privacy |
PUT | /api/v1/domains/:id/dnssec | Set DNSSEC |
GET | /api/v1/domains/:id/authcode | Get auth code |
GET | /api/v1/webspaces/pricing | Webspace pricing |
GET | /api/v1/webspaces | List webspaces |
GET | /api/v1/webspaces/:id | Get webspace details |
POST | /api/v1/webspaces/create | Provision a paid webspace |
POST | /api/v1/webspaces/free | Claim free-tier webspace |
PATCH | /api/v1/webspaces/:id | Upgrade disk or database count |
DELETE | /api/v1/webspaces/:id | Delete webspace |
GET | /api/v1/webspaces/:id/connection-info | SSH/SFTP connection info |
PATCH | /api/v1/webspaces/:id/php | Change PHP version |
POST | /api/v1/webspaces/:id/cms | Install CMS |
POST | /api/v1/webspaces/:id/db/password | Reset database password |
GET | /api/v1/webspaces/:id/domains | List linked domains |
POST | /api/v1/webspaces/:id/domains | Link custom domain |
DELETE | /api/v1/webspaces/:id/domains/:linkedId | Unlink domain |
GET | /api/v1/webspaces/:id/ssh-keys | List SSH keys |
POST | /api/v1/webspaces/:id/ssh-keys | Add SSH key |
DELETE | /api/v1/webspaces/:id/ssh-keys/:keyId | Delete SSH key |
POST | /api/v1/webspaces/:id/exec | Execute shell command |
GET | /api/v1/webspaces/:id/sftp/list | List directory |
GET | /api/v1/webspaces/:id/sftp/read | Read file |
PUT | /api/v1/webspaces/:id/sftp/write | Write file |
DELETE | /api/v1/webspaces/:id/sftp/delete | Delete file or directory |
POST | /api/v1/webspaces/:id/sftp/rename | Rename or move |
POST | /api/v1/webspaces/:id/sftp/mkdir | Create directory |
POST | /api/v1/webspaces/:id/sftp/chmod | Change permissions |
POST | /mcp | MCP (Model Context Protocol) |