Skip to main content

Create and manage API keys

An API key lets your own software — a dashboard, a mobile app, a website you had built, or an AI tool you use — read and change your Zooza data through the API. You create and manage keys yourself in Developers → API keys.

The API keys screen under Developers, showing the account's API level and one active key with its access, rate limit and status

First: do you actually need one?​

Most people who ask for an API key do not need one.

What you are doingWhat you need
Putting the booking form, calendar or client profile on your websiteThe widget key from Team & Settings → Publish → Widget. No API key.
Connecting Zooza to Claude or ChatGPTThe AI connector, not a key. See Connect Zooza to Claude or ChatGPT.
Building your own app, dashboard or integration against your Zooza dataAn API key.

If a web developer asks you for "the API key" and they are only putting Zooza on your site, they mean the widget key. Send them to Publish → Widget.

What you need before you start​

  • An active Zooza subscription. API keys are part of the paid service. If your account has no active subscription, set one up first in the customer portal — in the app, open your subscription from Team & Settings and follow the portal.
  • You have to be the account owner. The Developers section is visible to owners and assistants, but only an owner can create, edit, rotate or revoke a key.
  • Locations inside a network cannot create their own keys yet. If your company's subscription is managed by a parent company in a network, API keys are not available to you for now.

There is also no test copy of your account. Keys work on your live data, so make your first calls read-only ones.

Create a key​

Go to Developers → API keys and create a key. You will be asked for four things:

Name — optional, and only for you. It helps you tell keys apart later, for example Warehouse sync. Leave it empty and the key is named for you.

Access — Read only or Read and write. Read only can read your programmes, classes, bookings and the rest of your core data. Read and write can also create and change data. Start with read only and raise it when you genuinely need to write.

Rate limit — how many requests the key may make:

LevelAllowance
Starter60 requests a minute, 1,000 a day
Standard300 requests a minute, 20,000 a day
Partner1,200 requests a minute, 100,000 a day

Which access and which rate limits you can choose depends on your subscription. Anything your plan does not include is shown as Not included in your plan.

Companies — a key works for this company only. A key spanning every company an owner has access to is listed but not available yet.

The Create an API key dialog with the name, access, rate limit and companies fields

When the key is created you are shown a Client ID and a Client secret.

Copy the client secret now — you will not see it again. If you lose it, rotate the secret to get a new one. The Client ID stays visible.

What your plan lets you choose​

The Access levels table at the bottom of the page is the quickest answer to "why can't I pick that?". It lists every access level and rate limit, whether you can choose it, and how many of your active keys already use it.

The Access levels table showing each access level and rate limit, whether it can be chosen and how many active keys use it

Your current level is shown at the top of the page under Your API level, with what the next level would add and a Get a higher level button. Changing level does not touch your existing keys: a key keeps its own settings, and simply starts working fully again once your level covers them.

Rate limits are counted in points, not in plain requests. Most reads cost one or two points, so 60 a minute is a floor rather than an exact call count. How rate limits work on the same page has the detail.

Handing a key to a developer, an agency or an AI tool​

Treat the client secret like a password for your whole account.

  • Do put it in an environment variable on a server (ZOOZA_CLIENT_SECRET) or in a password manager you share properly.
  • Do not email it, send it in a chat, paste it into a support ticket, or let it end up in code that runs in the visitor's browser. Anything in browser code is readable by anyone who visits the page.
  • If a secret has been somewhere it should not have been, rotate it. That takes a minute and costs nothing.
  • Give the key the least access that does the job. A reporting dashboard only needs read.

Change, rotate or revoke a key​

Editing a key's access or rate limit applies to new tokens, so the change takes effect within an hour at most.

The Edit API key dialog, with a notice that changes apply to new tokens within an hour at most

Rotate secret creates a new client secret and shows it once. The old secret stops working immediately for new tokens; tokens already issued with it expire within an hour. Use this when a secret may have leaked, or when you lost it.

Revoke is immediate and permanent. The key stops working on the next request and cannot be restored. Revoked keys stay in the list, marked Revoked, so you can see what existed.

Why a key stopped working​

Tokens are issued in the name of an owner. If that person stops being an owner of the company, their tokens stop working. Create a new token using another owner's email address.

If your software cannot get a token, it will see one of these:

ErrorWhat it means
400 invalid_requestA field is missing or malformed. The request must send client_id, client_secret and email as JSON.
401 invalid_clientThe client id, the secret or the email is wrong, or the key was revoked. The answer is deliberately the same for all of those.
429 too_many_requestsThe key hit its rate limit. Wait and try again, or move it to a higher rate limit.
503 temporarily_unavailableThe service is briefly unavailable. Try again shortly.

If your subscription changes, a key can end up allowed less than it was set up for. It keeps its own settings and starts working fully again once the subscription covers them.

Not available yet​

These are planned, so do not build around them: webhooks, a test mode with sample data, import and setup tools, a software development kit, and keys that span every company an owner has access to.

For your developer​

The Quick start block on the API keys page has a working token request and a first call in cURL, JavaScript and Python, with the error list underneath. Copy puts it on your clipboard, and Copy for LLM copies a version written for an AI assistant to work from. That block is usually all a developer needs to get started.

Endpoints, the token request and the rest of the code examples live in the developer documentation:

If something you need is not in the documentation, write to us at support@zooza.online and describe what you are building — there are more endpoints than the documented ones, and we will tell you whether what you need exists.