Knowledge base

Creating an API key and choosing its permissions

Create an API key and choose its permissions: plain-language names with the code underneath, nine groups, Read-only, Deploy and DNS presets, search, and revoking.

Zinn®, our Viking, reading his checklist beside an index of articles with one open.

An API key lets your own code, a billing panel module, the SDKs, the Terraform provider or the Zinnector® CLI act on your account. Each key carries only the permissions you give it, so a key that only reads your sites cannot delete one. This guide walks through the API keys page of your dashboard (app.zinndigital.com/api-keys).

Create a key

  1. Open API keys and press Create a key. A side panel opens; the Create key and Cancel buttons stay at its foot however long the list is.
  2. Give the key a name you will recognise later, such as "Billing panel" or "Deploy from CI".
  3. Choose its permissions (below), then press Create key.
  4. The key is shown once. Copy it straight away into an environment variable or your secret store, never into source code. If you lose it, revoke it and create another.

Choosing permissions

Each permission is written in plain words, for example See your sites, with its code (such as sites.view) in small text underneath. The code is what the API reference and error messages use; the words are what the permission lets the key do.

The permissions sit in nine groups, which start folded and show how many of each you have chosen:

  • Sites and hosting: your sites, backups, PHP, deploys, caches, databases, storage, private networks and uptime checks.
  • Domains and DNS: domains, DNS records and nameservers.
  • Mail and campaigns: mailboxes, sending and e-mail campaigns.
  • SEO, links and ads: links, syndication, site translation, partner offers, affiliate settings and ad campaigns.
  • Support: tickets, live chat and service-level claims.
  • Billing: invoices, refunds as credit, and plans and prices.
  • Team and account: members, roles, organisations, account settings and the audit log.
  • Agency and reselling: your reseller clients and agency tools such as the client board and time logging.
  • Developer and AI: API keys, connections, AI assistants and agents.

Presets

Start from fills the list for a common job, and you can change any box afterwards:

  • Read-only ticks only the permissions that look at things. None of them can change, create or delete anything, and none reveals a password.
  • Deploy ticks what a deployment pipeline needs: see your sites, deploy and import code, take a backup, purge the cache and restart.
  • DNS ticks what is needed to manage domains and DNS records.
  • Clear all unticks everything.

Search

Type into Find a permission to search both the words and the codes. The groups with a match open and the rest hide, so "invoice" or billing. finds every billing permission at once.

What you can grant

A key can only be given permissions that you hold yourself in that organisation; anything else is not offered. Give each key the fewest permissions its job needs, and use a separate key for each integration so you can revoke one without breaking the others.

Revoking a key

Every key is listed on the same page with its permissions and when it was last used. Press Revoke to stop it working immediately. On a phone each key is shown as a card with its Revoke button inside.

AI assistants use the same names

When you connect an AI assistant on the AI tools page, the permissions it may use are shown with the same words, in the same nine groups, so a permission reads the same everywhere in your dashboard.

All developer docs →

Latest from the blog

What we have been writing about hosting, SEO and running sites at scale.

SEO and Link Building from the Hosting Layer: A 2026 Operator's View

How hosting shapes indexing and link equity in 2026: keeping pages indexed, vetting aged domains before you build on them, link building without a footprint, and an honest line on what infrastructure can and cannot do for SEO.

Read the post →

Making WordPress Fast and Secure: A Performance and Plugin Checklist

A practical checklist for fast, secure WordPress: server-level caching, a per-site object cache, the handful of plugins worth running, keeping the stack current, and the WooCommerce pages you must never cache.

Read the post →

How to Choose Managed Web Hosting in 2026: A Buyer's Guide

What actually separates good managed hosting from a cheap box with a control panel — migrations, backups, isolation, real caching and honest scaling — and how to judge it before you commit.

Read the post →

Read the blog →

Still stuck?

Support is included on every plan, the desk is open 24 hours a day, and you can write to us in any of our 58 languages — we answer you in yours.

Contact support All articles