Compute API

REST · JSONv1

Create and manage servers on Stack53 Cloud — VPS, Public Cloud instances and dedicated servers — and the volumes, private networks, firewalls, reserved IPs and SSH keys around them. JSON over HTTPS.

BASE URL https://api.stack53.com/v1
QUICK LINKS
OBJThe server object↓

Create a server

POST /v1/servers

Creates a VPS or Public Cloud server from a plan and an image in one region. The server starts as provisioning and moves to running when it is ready.

Request body

application/json
NAME · TYPEREQUIREDDESCRIPTION
namestringRequiredHostname-style name. Letters, numbers and hyphens.
typestringRequiredvps or cloud. Dedicated servers are ordered with Create an order.
planstringRequiredPlan ID from List plans, for example vps-4.
regionstringRequiredRegion ID. The plan must be sold there (regions in List plans).
imagestringRequiredImage ID from List images, for example ubuntu-24.04.
ssh_keysstring[]OptionalSSH key IDs to install for root login.
backupsbooleanOptionalTurn on automatic backups.
ipv6booleanOptionalAssign an IPv6 address. IPv6 is included.
private_networkstringOptionalPrivate network to attach, for example net_storefront.

Response

201 Created

Returns the new server with status provisioning. The server.ready webhook fires when it is running.

FIELDTYPEDESCRIPTION
idstringUnique server ID.
statusstringprovisioning, running, stopped, rebuilding or deleting.
planstringPlan ID, for example vps-4.
ipv4string[]Public IPv4 addresses. Empty while provisioning.
ipv6string | nullPublic IPv6 address, if enabled.
private_ipstring | nullAddress on the private network, if attached.
created_attimestampWhen the server was created (ISO 8601, UTC).
Key fields only. Every field and the status lifecycle are in The server object ↓

The server object

VPS, Public Cloud and dedicated servers share these fields.

FIELDTYPEDESCRIPTION
idstringUnique ID, for example srv_7f3k.
namestringName you gave the server.
typeenumvps · cloud · dedicated
planstringvps-4, g1-medium, ds-e16…
regionstringca-central or ca-east.
imagestringInstalled image: ubuntu-24.04.
statusenumprovisioning running stopped rebuilding deleting
ipv4string[]Public IPv4. Empty while provisioning.
ipv6string|nullPublic IPv6, if enabled.
private_ipstring|nullPrivate network address, if attached.
backupsbooleanAutomatic backups on or off.
created_attimestampISO 8601 UTC. Also updated_at.

Server actions

POST /v1/servers/{id}/actions with a type. Async work returns 202.

TYPEMODESTATUSNEEDS
power_onAsync · 202stopped → running—
power_offAsync · 202running → stopped—
rebootAsync · 202running → running—
rebuildAsync · 202rebuilding → runningimage
resizeAsync · 202Changes the planplan
OTHER SERVER OPERATIONS
consoleSync · 201Returns a console URL.—
deleteAsync · 202deleting → server.deleted—

Webhook events

An HTTPS POST to your endpoint on each change. Select an event.

EVENTSENT WHEN
Verify the signature. v1 in Stack53-Signature is an HMAC-SHA256 of t.body with your endpoint secret. Reply 2xx to acknowledge.
Need help? Include the request_id when you contact support. Support →Status →

Errors

HTTP status codes, one JSON shape. Branch on error.code.

STATUSCODEMEANING
400invalid_requestA field is missing or not valid.
401unauthorizedToken missing, invalid or revoked.
403forbiddenToken lacks access to this resource.
404not_foundResource does not exist or is not visible.
409conflictAnother action is running, or name in use.
422quota_exceededWorkspace quota for this resource reached.
429rate_limitedRate limit reached; retry after Retry-After.
503capacity_unavailableNo capacity for this plan in the region.