Skip to Content
vVozoraDocs
API reference

Quickstart

From a new API key to a running server, and back to deleted.

You need a key with servers:read, servers:write and ssh_keys:write (how to make one), and credit on the account for 24 hours of the server.

export VOZORA_API_KEY="voz_..."
V="https://www.vozora.io/api/v1"
auth=(-H "Authorization: Bearer $VOZORA_API_KEY" -H "Content-Type: application/json")

1. Check the key

curl -sS "$V/account" "${auth[@]}"
{
  "account_id": "6f0c...",
  "email": "you@example.com",
  "credential": { "kind": "api_key", "id": "Jx3...", "name": "laptop", "expires_at": "2027-02-11T10:00:00.000Z" },
  "scopes": ["servers:read", "servers:write", "ssh_keys:write"]
}

2. Choose a size and an image

curl -sS "$V/plans" "${auth[@]}"
curl -sS "$V/images" "${auth[@]}"

Each has a name (nano-g2, ubuntu-24.04) that you can use in the next step, and each size has its hourly_price in pounds.

3. Save your SSH public key

curl -sS -X POST "$V/ssh-keys" "${auth[@]}" \
  -d "{\"name\": \"laptop\", \"public_key\": \"$(cat ~/.ssh/id_ed25519.pub)\"}"

4. Create the server

curl -sS -X POST "$V/servers" "${auth[@]}" -d '{
  "name": "web1",
  "plan": "nano-g2",
  "image": "ubuntu-24.04",
  "ssh_key": "laptop",
  "waive_cancellation_right": true
}'

waive_cancellation_right must be true: an hourly server starts at once, so, as in the console, you give up the 14-day right to cancel it for a refund. You can still delete it at any time and stop paying.

The answer is the server, in state starting, with its id. If the account does not have enough credit the answer is 422 and says how much is needed.

5. Wait for it

curl -sS "$V/servers/SERVER_ID" "${auth[@]}"

Repeat every few seconds until state is running; it usually takes under a minute. ipv4 and ipv6 are its addresses, and login_user is the user your SSH key logs in as (ubuntu or debian, from the image). Use sudo for root:

ssh ubuntu@203.0.113.10

6. Delete it

curl -sS -X DELETE "$V/servers/SERVER_ID" "${auth[@]}"

204 means it has been deleted, with its backups (the answer waits for that, which can take up to two minutes). Charging stops then; a stopped server is still charged, a deleted one is not.

Next

Endpoints lists everything else: firewalls, private networks, volumes, DNS and object storage.

On this page

Vozora is a trading name of Bankside Technology Ltd, company no. 17253446.TermsPrivacysupport@vozora.io