Orders
Order a server
Orders a server, paid from the balance. It comes back right away with status provisioning; Linux is ready in a few minutes, Windows in about 10 to 20. Poll Get a server until setup.stage is ready.
/ordersAuthorization
AuthorizationheaderrequiredBearer rv_…, a key with the order scope. About keys
Body
application/json
plan_idintegerrequiredFrom List plans.
region_idintegerrequiredFrom List locations; must be in the plan’s available_region_ids.
distro_idintegerrequiredFrom List operating systems.
durationintegeroptional, default 1Months, 1 to 12.
ssh_keystringoptionalA public SSH key for Linux servers.
Response
idstring (uuid)The server id.
hostnamestring | nullThe name you gave it.
ip_addressstring | nullPublic IPv4 address, null while it’s being created.
statusstringprovisioning, reinstalling, moving, running, stopped, suspended, expired or deleted.
distro_namestring | nullOperating system, e.g. Windows Server 2022.
plan_idintegerThe plan, see List plans.
region_idintegerThe location, see List locations.
distro_idintegerThe operating system, see List operating systems.
sell_pricestring (decimal)Monthly price in USD.
duration_monthsintegerThe term it was ordered for.
expiry_datestring (datetime) | nullPaid until.
auto_renewbooleanRenews from the balance before it expires.
created_atstring (datetime)When it was ordered.
suspended_atstring (datetime) | nullSet while the server is suspended.
suspend_reasonstring | nullWhy, when it is.