VPSie home

API, CLI, SDK and Terraform

One REST API behind the console, with Terraform, a Go SDK and a command line built on it.

Everything in the console is also in code

One documented REST API sits behind the web console, the mobile apps, the Go SDK, the CLI and the Terraform provider. A server made in Terraform shows up in the console, and the reverse.

847

Documented API endpoints

OpenAPI 3.0 reference with a live try-it panel
33

Terraform resources

Plus 29 data sources
31

Go SDK service clients

Load balancer, registry, databases and Kubernetes included
MPL-2.0

Open source

Terraform provider and Go SDK

Four ways to call it

REST API

JSON over HTTPS with one response shape, { error, data, total }, offset and limit paging, and queued long-running work you poll until ready.

Terraform and OpenTofu

Declare servers, networks, storage, DNS, Kubernetes, databases and registries; review each change as a plan. Works with Terraform 1.0+ and OpenTofu 1.6+.

Go SDK

govpsie is the official Go client and the engine behind the Terraform provider. It handles authentication and turns API failures into Go errors.

Command line

vpsiectl is one binary for Linux, macOS and Windows that covers servers, DNS, load balancers, registries, databases and Kubernetes. In early access.

Early access

Drawn samples. Exact commands and fields are in the API reference.

Tokens you can scope tightly

Every call carries a token in the Vpsie-Auth header. The same controls apply in curl, the CLI, the SDK, Terraform and the Kubernetes add-ons.

Least privilege

Bind a token to an ACL role so it reaches only what the role allows. A CI pipeline does not need billing.

Network fencing

Restrict a token or an OAuth application to an allow-list of addresses, or block ranges with a deny-list.

Expiry and kill switch

Every personal access token has an expiry date and can be disabled or deleted without touching the others.

Stored as digests

Tokens and client secrets are kept as SHA-256 digests. A client secret is shown once, when issued or rotated.

Audit trail

Client-credential sign-ins and account actions are in the audit log, readable in the console, the API and the mobile app.

Organized automation

Projects and tags apply to resources made through the API exactly as in the console.

A tested reference stack

A Terraform configuration of a production-shaped application: a project, a private VPC, two application servers without public addresses, a public load balancer, a managed database reachable only inside the VPC, and a firewall policy per tier. It was applied, planned again with no changes, and destroyed against the API.

DocumentationPlatform services

A typical path from console to code

Teams rarely switch overnight. Most start with the console and move one piece at a time.

Explore

Read the OpenAPI reference and try a call from the browser with your token.

Import

Bring existing servers, VPCs and policies under Terraform with terraform import, without a rebuild.

Automate

Run plans in CI with a token bound to a narrow role, and keep state under review.

Extend

Use the Go SDK for your own tools, or the command line for quick jobs from a terminal.

Questions about the developer tools

Where is the API reference?

At apidocs.vpsie.com, an OpenAPI 3.0 reference with a try-it panel. You can also download the document to generate clients.

Can I import what I already run into Terraform?

Most resources support terraform import, so existing servers, VPCs and policies come under code without a rebuild.

Is the Terraform provider in the public registry?

The provider is open source on GitHub and installs from source today. Publication to the Terraform and OpenTofu registries is in progress.

Which token should a pipeline use?

A personal access token bound to an ACL role that covers only the resources the pipeline touches, with an expiry date you can renew or revoke on its own.

Is the Go SDK separate from the CLI?

The SDK is the library, and the CLI and the Terraform provider are built on it, so a fix in the SDK reaches all three.

Is the CLI production ready?

It is in early access. It uses the same Go SDK as the Terraform provider, so it behaves the same way.

Make your first API call

Create an account, issue a scoped token and start with the API reference.