Getting started
Base URL
Section titled “Base URL”The API is at https://api.voidfs.com, and its operations are under /v1/. Four paths stay outside it:
| Path | What it is |
|---|---|
/auth/* |
Sign-in and the session, served by Better Auth. See Authentication. |
/openapi.json |
The OpenAPI 3.1 document this site’s reference is generated from. |
/docs |
Redirects to this site. |
/webhooks/polar |
Receives billing events from Polar. Not for other callers. |
Three more paths are outside /v1/ only until they move: see What v1 holds today. What these guides say about paths, signatures, errors and lists holds for the operations under /v1/, not yet for those three.
Who can call
Section titled “Who can call”| Caller | Credential | Who it is |
|---|---|---|
| Web session | The session cookie that sign-in sets | The web app at app.voidfs.com |
| Connected app | An HTTP Message Signature by the app’s own key | The voidFS CLI and its MCP server, and any program the owner approves |
| Operator | A bearer token | voidFS’s own admin page |
| Anyone | None | Opening a shared link, and reading /openapi.json |
If you write a program that works on someone’s voidFS files, it is a connected app: the owner approves it in the web app, and it signs each request with its own key. Authentication describes the approval and Signing requests the signature.
Each operation in the reference names the credentials it accepts under “Authorizations”.
A first request
Section titled “A first request”The OpenAPI document needs no credential:
curl https://api.voidfs.com/openapi.jsonAn operation that needs a credential answers 401 without one, and says which credentials it accepts:
curl -i https://api.voidfs.com/v1/connected-appsHTTP/1.1 401 UnauthorizedContent-Type: application/problem+json; charset=utf-8Cache-Control: no-storeWWW-Authenticate: Session, SignatureAccept-Signature: sig=("@method" "@target-uri" "voidfs-account" "voidfs-generation" "user-agent");created;expires;alg="ed25519"traceparent: 00-9ef29028372d46b789386e4ee6135724-fbfb8a951c1b4479-00
{ "error": "session", "category": "unauthorized", "type": "https://docs.voidfs.com/errors/#session", "status": 401, "title": "Sign-in required", "instance": "urn:uuid:9ef29028-372d-46b7-8938-6e4ee6135724"}Session is the session cookie and Signature is an HTTP Message Signature; Accept-Signature lists what the signature must cover. The body is a problem: see Errors.
Conventions
Section titled “Conventions”- Methods.
GETreads,POSTcreates,PATCHchanges,PUTreplaces or creates at a known URL, andDELETEremoves. An action that none of them expresses isPOST /v1/{resource}/{id}/{action}, such asPOST /v1/connected-apps/{appId}/approve. - JSON. Field names are camelCase. A timestamp is an RFC 3339 string in UTC (
2026-11-27T10:15:00Z), and a day is an RFC 3339 full-date (2026-11-27). - Queries. A
GETreadslimit,cursorand filters from the query string. A parameter the operation does not declare answers 400. - Lists. Every list pages the same way: see Paging.
- Caching. A reply to an authenticated request sends
Cache-Control: no-store. - Tracing. Every reply under
/v1carriestraceparent: see Errors.
What v1 holds today
Section titled “What v1 holds today”The service’s routes are moving to /v1 one group at a time. Links, connected apps, the account, the vault’s listing, passkeys, billing, the operator’s operations, sign-in and the billing webhook have moved. The requests a device signs (uploads, file reads and account commands) have not: the reference still lists them at their old paths (/native/account, /v3/control, /v3/transfer and their /web/… twins, directly under Operations and outside a group), and those paths go away when they move. Until then they keep their earlier request signature and error replies.