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
- 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.
- Give the key a name you will recognise later, such as "Billing panel" or "Deploy from CI".
- Choose its permissions (below), then press Create key.
- 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.