npm install @zinn-digital/sdk
TypeScript SDK
A fully typed client for the whole public API. Every path, parameter and response comes from the spec, so a typo is a compile error.
Read the TypeScript SDK guideFor developers
Zinn Digital® is an API-first platform. The same engine API that powers our dashboard is the one you get — versioned, spec-first and 100% documented at build time, with generated SDKs, a CLI, a Terraform provider, signed webhooks and an MCP server on top of it. Whatever you use to work — a terminal, a pipeline, a state file or an AI agent — the platform answers to it.
Published on npm, PyPI and the Terraform Registry, generated from the same OpenAPI spec as the API, and updated whenever it changes.
npm install @zinn-digital/sdk
A fully typed client for the whole public API. Every path, parameter and response comes from the spec, so a typo is a compile error.
Read the TypeScript SDK guidepip install zinn-sdk
A typed Python client with synchronous and asyncio calls for every operation, for Python 3.11 and later.
Read the Python SDK guidesource = "zinn-digital/zinn"
Manage DNS records as code and read your sites, domains, plans and regions. Signed releases on the Terraform Registry.
Read the Terraform provider guideMost hosts bolt an API onto a control panel after the fact, and it shows — half the panel's features never make it out. We built the other way round. The dashboard, the admin console, the CLI, the Terraform provider, the MCP server and your own integrations all consume the same engine API. If you can do it in the panel, you can do it in code.
The OpenAPI spec is the source of truth, and no endpoint ships unless it is in the spec. That single rule is what makes the public API fully documented at build time rather than eventually — there is no undocumented corner, because an undocumented endpoint cannot exist.
Interactive reference docs, the TypeScript and Python SDKs, much of the CLI and the Terraform provider's models are all generated from that one spec. One source, many artefacts, always in sync — you never chase a doc that drifted away from the implementation.
Endpoints live under /v1 with a published deprecation policy and a changelog. You get told before something changes, in writing, rather than discovering it from a failing build.
Implementation-versus-spec contract tests and OpenAPI linting run on every change. Drift between the code and the contract fails the build — so the spec you generate your client from is the spec the server actually honours.
Two ways in, one uniform principal behind them. Whichever you use, the same permission checks and the same database-level isolation apply.
Keys look like zdk_<mode>_<prefix>_<secret>. Only a SHA-256 hash of the secret is stored — we cannot show you a key again after issue, and neither can anyone who reaches our database. Keys carry scopes, can be revoked, and are issued per organisation rather than per person.
Sandbox keys are separate from production keys and run against sandbox mode: no real billing, no real provisioning. Your integration tests can hammer the API without spending money or building servers.
User sessions authenticate with Keycloak-issued JWTs, verified against the realm public key, and resolve to the same Principal object an API key does. Endpoints gate on granular permission keys such as sites.create or apikeys.manage, checked per organisation — a permission in one org grants no access in a separate, unrelated org, though it applies to the orgs nested beneath it.
Every tenant request runs in a transaction with the Postgres org scope set from the principal, so isolation is enforced by the database, not by an ORM filter someone might forget. The queryset filter is still there as defence in depth.
An API is easy to make look good in a README and hard to make behave under real traffic. These are the parts we sweated, because they are the parts that break integrations at three in the morning.
One detail worth calling out, because it shapes how bulk work behaves: a 409 on duplicate domain answers "is this hostname hosted here?" for any tenant, which is an enumeration oracle and a real deanonymisation risk against Footprint-Free. Throttling site creation would have been the lazy fix and would have broken the bulk-provisioning product outright. Instead only rejected duplicate-domain attempts are budgeted, per principal. Successful creates are never charged against it — so you can provision in bulk all day, and probing dies almost immediately.
Three consumers of the same spec, for three different ways of working.
Published for TypeScript (npm install @zinn-digital/sdk) and Python (pip install zinn-sdk), and republished automatically whenever the spec changes, so a new endpoint arrives in your language without waiting on a hand-written wrapper.
Scaffold a WordPress site, run it locally with nothing installed but Node, and deploy it. Zinnector® pre-flights your project against the slot you are about to deploy to — PHP version, disk, file count — and warns before you push rather than after. It also signs in, lists sites, deploys, manages domains and DNS, reads mail services, takes backups, runs allow-listed WP-CLI, tails logs and fires bulk operations. Free, MIT-licensed, and built on this same public API.
Manage DNS records as code, and read your sites, domains, plans and hosting regions, with our provider on the Terraform Registry (zinn-digital/zinn). Your DNS becomes reproducible and reviewable instead of a sequence of clicks nobody wrote down.
Generated docs you can read and call from the browser, describing exactly the endpoints the server implements — because both come from the same spec.
Behind the platform is a durable event spine: every state change writes an event to a transactional outbox in Postgres, atomically with the database change, and a relay publishes it to NATS JetStream. Events are typed and versioned — site.deployed, order.paid, invoice.overdue, backup.completed, abuse.flagged, trial.ending and the rest.
Register an endpoint as a WebhookSubscription and choose the event types it receives. One stream feeds notifications, analytics, automations and your integration alike — you are consuming the same events we do.
Every delivery is HMAC-signed so you can verify it came from us before you act on it.
Failed deliveries retry with backoff and each attempt is recorded as a WebhookDelivery. You can inspect and replay deliveries from the dashboard rather than emailing support asking what we sent.
The pipeline is deliberately at-least-once rather than pretending to be exactly-once. A relay that dies mid-publish has its claim lease expire and its events republished. Dedupe on the envelope id and your consumer is correct by construction.
An API is only half a developer story. The other half is shipping.
The API is one door. These are the other four, and every one of them is included with the plan rather than sold as a developer tier.
VS Code in the browser, opened from the site's page in the dashboard, editing that site's real files with git built in and the whole editor inside the same CageFS jail as your SFTP access. It edits the LIVE site — there is no staging copy in between, so a file you save is public the moment it is written, though a static file may keep serving from the CDN cache for up to four hours.
Free, MIT-licensed and built on this same public API. Scaffold a WordPress site, run it on your own machine, pre-flight it against the slot you are about to deploy to — PHP version, disk, file count — and deploy. Needs Node 24 or newer.
One catalogue of tools, so the AI client you already use can work on your sites through the same API and the same permissions the dashboard uses. The same server your own client connects to is the one wired into the web editor. Read-only until you say otherwise.
Client work does not need your password. Invite somebody by email address and they get exactly one site: they sign in as themselves, with a viewer, editor or manager role, and every other site answers 404 before any handler runs — a Postgres row-level security policy and a request-level fence, not one check. The account owner grants it and revokes it in one click, effective on their next request.
We expose the platform as a hosted MCP server: a thin protocol adapter over the engine API that reuses the identical action catalogue, RBAC and audit trail. Connect Claude Code, Cursor, ChatGPT, Claude Desktop or any MCP-capable client once, and every capability we add to the API becomes available to it automatically.
The agent gets three things: Tools (the same API endpoints, no parallel logic to drift), Resources (read-only site health, config, recent logs, metrics, uptime and KB articles, so it diagnoses with real data before acting) and Prompts (published workflow templates such as "diagnose this site" or "prepare a migration").
Safety is the same story as authentication: OAuth 2.1, tokens bound to your org and RBAC permissions with row-level security enforced, scoped and revocable per tool, sandbox separated from production. Destructive actions — delete, suspend, billing, large spend — require explicit confirmation or a human-approval policy. Rate limits and spend caps bound AI-triggered paid actions, and every MCP call is audit-logged with identity, tool, arguments and result.
We support the protocol rather than integrating each app one at a time, which means your choice of AI tooling can change without your hosting integration changing with it.
Yes — it is the same engine API, published and hardened. The dashboard, admin console, CLI, Terraform provider, MCP server and webhooks are all consumers of one surface, which is why the API does not lag behind the panel.
Yes. Sandbox keys are issued separately from production keys and run in test mode: no real billing and no real provisioning. Point your CI at sandbox credentials and exercise the full request and response cycle safely.
Send an Idempotency-Key on your POST. The replay record is written on commit rather than inline, so a retry can never replay a cached success for a row that did not actually commit, and a request that fails releases its lock immediately so your corrected retry is not held up. Webhook delivery is at-least-once by design — dedupe on the envelope id at your end.
Not today. API keys are issued per organisation, so an integration spanning several client orgs holds a key for each. Permissions are also checked per organisation for user principals: holding sites.create in one org grants no access in a separate, unrelated org, though it applies to the orgs nested beneath that one. That is deliberate — it confines a compromised key to its own organisation and the sub-orgs beneath it, not the whole platform.
The dev role covers organisation read, API key management, viewing and creating sites, restarting them, purging their cache, and viewing and replying to tickets. It deliberately excludes billing control. Note that deploy and push-to-live permissions are not part of it — if a team member needs those, assign a role that carries them rather than assuming Developer is the broadest technical role.
Deliveries retry with backoff and every attempt is recorded as a WebhookDelivery you can inspect. Upstream, events are written to a transactional outbox in the same database transaction as the change itself, so nothing is lost while a consumer is unavailable — a down consumer lags, it never breaks the producer, and you can replay deliveries from the dashboard once you are back.
Start on a card-free 14-day trial of Footprint-Free Hosting — no payment details, up to 5 sites. Paid Footprint-Free tiers begin at $6/mo for PBN 5. Every plan carries a 30-day money-back guarantee, free migrations and no vendor lock-in.
Cada um destes plugins torna o seu site WordPress num servidor MCP, para que o Claude, o Cursor, o VS Code e outros assistentes de IA possam trabalhar verdadeiramente nele, com a sua sessão iniciada e limitados àquilo que tem autorização para fazer.
Spec-first API, generated SDKs, a CLI, a Terraform provider, signed webhooks and an MCP server — on the hosting we built for 700,000+ sites worldwide. Start on a card-free 14-day trial, no payment details.
Start free