REST API endpoints and authentication

API Reference

Overview

The XessOne API allows you to programmatically manage your infrastructure. All endpoints are available at api.xessone.com and return JSON responses.

Authentication

All API requests require an API key passed in the Authorization header:

terminal
curl -H "Authorization: Bearer YOUR_API_KEY" \
  https://api.xessone.com/v1/vps

API Keys

Generate your API key from the dashboard under Settings > API Keys. Keep it secret — never expose it in client-side code.

Base URL

base URL
https://api.xessone.com/v1

Endpoints

VPS Management

MethodEndpointDescription
GET/v1/vpsList all VPS instances
GET/v1/vps/:idGet VPS details
POST/v1/vpsCreate a new VPS
PATCH/v1/vps/:idUpdate VPS settings
DELETE/v1/vps/:idDelete a VPS instance
POST/v1/vps/:id/restartRestart a VPS

Email Management

MethodEndpointDescription
GET/v1/emailList email accounts
POST/v1/emailCreate email account
DELETE/v1/email/:idDelete email account
PATCH/v1/email/:id/passwordReset password
GET/v1/email/activityGet usage stats

Storage

MethodEndpointDescription
GET/v1/storageGet storage usage
GET/v1/storage/bucketsList buckets
POST/v1/storage/bucketsCreate bucket
DELETE/v1/storage/buckets/:nameDelete bucket

DNS

MethodEndpointDescription
GET/v1/dns/zonesList DNS zones
GET/v1/dns/zones/:domain/recordsList records
POST/v1/dns/zones/:domain/recordsCreate record
DELETE/v1/dns/zones/:domain/records/:idDelete record

Response Format

response.json
{
  "success": true,
  "data": {
    "id": "vps-abc123",
    "label": "my-app",
    "region": "sgp1",
    "status": "active"
  }
}

Error Handling

StatusMeaning
200Success
400Bad request — check parameters
401Unauthorized — invalid API key
403Forbidden — insufficient permissions
404Not found
429Rate limited — slow down
500Server error — contact support

Rate Limits

PlanRequests / minute
Starter60
Growth300
Enterprise1000
Rahma

Rahma

XessOne Support

Hi! I'm Rahma from XessOne. Ask me anything about our services, pricing, or how to get started.