Company
Developer documentation
Provisioning, billing webhooks, DNS and snapshots over a REST API: authentication, endpoint names, event types, rate limits and the error format.
Everything in the client area is available over an HTTP API, and the API is the intended interface for anyone running more than two instances. Authentication is a bearer token, issued per account, scoped at creation.
The four surfaces are provisioning, billing webhooks, DNS and snapshots. All of them are JSON over TLS, all of them version-prefixed with /v1, and all of them return the same error envelope.
Authentication
Send Authorization: Bearer <token> with every request. Tokens are created in the client area under API, are scoped to one of provisioning, billing, dns or snapshots, and can be restricted to a list of source addresses.
A token is shown once at creation and stored hashed. There is no retrieval, only rotation. Rotating a token invalidates the old one after a sixty-second grace period so a deploy can complete.
Provisioning API
POST /v1/instances creates an instance from a plan slug, a location slug and an image slug, and returns the instance object with a status of provisioning. GET /v1/instances lists everything on the account, GET /v1/instances/{id} returns one, and DELETE /v1/instances/{id} destroys it after a confirmation field is set.
POST /v1/instances/{id}/actions covers the verbs that are not creation: reboot, power_off, power_on, rescue, rebuild and resize. Each action returns an action object with its own id, and GET /v1/actions/{id} polls it to a terminal state.
Provisioning completes in under five minutes and the instance object carries an ipv4, an ipv6 block and a root password that is returned exactly once. Poll the action rather than the instance if you need a precise completion time.
Billing webhooks
Register an endpoint in the client area and we POST a JSON body to it, signed with an HMAC-SHA256 of the raw body in the X-Svartfjell-Signature header. Verify the signature against the raw bytes before parsing, and reject anything older than five minutes using the timestamp in X-Svartfjell-Timestamp.
Events are invoice.created, invoice.paid, invoice.past_due, invoice.expired, instance.provisioned, instance.suspended and instance.terminated. Each delivery carries an event id; retries reuse it, so deduplicate on that field.
Delivery is at-least-once with exponential backoff for twenty-four hours. A non-2xx response is retried; a 410 disables the endpoint until it is re-enabled in the client area.
DNS API
GET /v1/dns/zones lists zones, POST /v1/dns/zones creates one, and DELETE /v1/dns/zones/{zone} removes it. Records are managed under /v1/dns/zones/{zone}/records: GET lists, POST creates, PUT /v1/dns/zones/{zone}/records/{id} replaces, DELETE removes.
The record types are A, AAAA, CNAME, MX, TXT, SRV, CAA and NS. TXT is the one used for domain verification and for SPF and DKIM material, and it accepts a single string up to 255 characters or an array that is concatenated.
Zone changes publish within sixty seconds to our authoritative pair and respect a per-record TTL with a five-minute floor. There is no bulk import endpoint; use the CSV import in the client area for migrations.
Snapshot API
POST /v1/instances/{id}/snapshots takes a snapshot and returns the object before it completes, with a status of pending. GET /v1/snapshots lists them across the account, GET /v1/snapshots/{id} returns one, and DELETE /v1/snapshots/{id} removes it.
POST /v1/snapshots/{id}/restore restores onto the instance the snapshot came from, and accepts a target instance id to restore onto a different one in the same location. A restore is destructive and requires the confirm field set to the instance id.
Snapshot frequency follows the plan: weekly on VPS-2 through VPS-8, daily on VPS-8 and above, on request on the entry plan. Snapshot storage beyond three retained images is billed at $0.02 per gigabyte per month.
Errors and rate limits
Every error returns a JSON body with a code, a message and a request id. The codes worth handling are unauthorized, scope_denied, not_found, quota_exceeded, payment_required and rate_limited. The request id is what the ticket desk needs to find the call.
Rate limits are 120 requests per minute per token for reads and 30 for writes, with a burst of 10. A limited call returns 429 with a Retry-After header in seconds, and the client should honor it rather than retrying immediately.
There is no public endpoint for account closure or for token issuance. Both are deliberate: they are the two actions that should require a human at a browser.
FAQ
Questions we get on this page
Is there a client library?+
Can I get an API token without a browser?+
Ready when you are
Tell us what you need. A human answers.
Pilot stage: one facility in Reykjavík, plans confirmed by hand, payment in crypto. Write to the desk and you get a real person, not a queue.