API keys: the shape, the naming, the revoking
Choosing which databases a key reaches and whether it can write, what a key is made of, why the secret is shown once, and why revoking is immediate.
Updated November 2026
An API key is the credential a program uses to reach Tabla, such as a Make scenario, a cron script or your own server. It authenticates as you, and you choose how much of your own access it carries: every database or a named few, and read-and-write or read-only. These settings can narrow what the key can do but never widen it, so a key can never reach past your own roles.
What a key is made of
Authorization: Bearer key_xxxx.your-secret
The value has two halves joined by a dot. Before the dot is the key's id,
key_ plus twelve characters. That is the public half, and it's what
whoami (below) reports. After the dot is the secret. Tabla stores only a
hash of the secret, so it is shown only once, when the key is created, and can
never be shown again. If you lose it, revoke the key and create a new one. A
webhook's signing secret is different.
Editors and owners can reveal it again on the webhook itself.
To check which key a request is using:
curl "https://tabladb.com/api/meta/whoami" \
-H "Authorization: Bearer key_xxxx.your-secret"
{"user": {"id": "usr_bg44ivm89xzw", "email": "laila@sakkaraplants.com",
"name": "Laila Hassan"},
"key": {"id": "key_xxxx", "name": "Guides demo seeder",
"created_at": "2026-08-09T22:11:11.993Z",
"last_used_at": "2026-08-09T22:59:38.673Z",
"access": "read_write", "databases": "all"}}
databases is either "all" or the list of databases the key was narrowed
to. Make this call when an integration starts getting refused and nobody
remembers what its key was set to.
Choosing what a key reaches
Both choices are under the name box, set to All databases and Read and write to start with. If those suit you, type a name and press Create as before. If not:
- Read only refuses every write, whatever your own role is. Use it for a
dashboard, a reporting script, a nightly export, or an AI agent that
shouldn't be able to delete a record. A write attempt gets a
403withThis API key is read-only.The webhook endpoints answer the same way, reads included, because webhooks are for editors and owners and a read-only key never acts above a viewer. - All databases means every database you can open, now and later,
including any shared with you after the key was made. That way a key
doesn't stop covering next month's work without anyone noticing. The other
option is to narrow the key to a named few. A database outside that list
answers
404, the same as a database you're not a member of. A narrowed key also can't create a database, since the new one would be outside its own list, so a script that makes databases needs All databases.
The Choose databases option only appears once you have more than one database.
You can change both settings afterward. Click the gray summary line under a key's name, change what you need, and press Save. The secret stays the same, so you don't have to paste anything again into Make or your server. Narrowing a key you've become uneasy about takes a few seconds and no redeployment.
Whatever its settings, a key can't do some things, and a person has to do them from the app: deleting a database, making someone an owner, managing a team account, and moving, transferring or accepting a database. Revoking a key wouldn't undo any of them. A read-and-write key can do everything else the API offers, including deleting records and tables (the trash holds them for seven days) and making a database in a team account you're in.
One key per integration
You create keys in the account menu (your avatar, top right) under API keys…. Take the hint in the name box ("Name this key, e.g. Zapier") literally, and give each caller its own key:
- Revoking the key for one integration doesn't break the others.
- The list shows each key's last used date, so a key that stopped being used, or one being used when it shouldn't be, is easy to spot by name.
- When a request misbehaves in your logs, the key id at the front of its header (the part before the dot) tells you which integration holds that key.
Where a key must never go
Keep keys out of browser code, out of any mobile or desktop app you ship, and out of public repositories. Anywhere a user can open devtools or unzip your bundle, they can read the key, and even a read-only key narrowed to one database can read everything in that database.
The screen and every outside caller go through the same code and the same checks in Tabla. So the setup that works is for browsers to talk to your server, and for your server to talk to Tabla, keeping the key where nobody can find it in the page source. If you want to show people a table without writing a server, use a public view link, which carries no key at all.
Revoking a key
In the same API keys… dialog, click the trash icon next to a key, then Revoke key. The confirmation says the key stops authenticating immediately and anything still using it starts failing. There is no grace period. The key is deleted, and the next request that uses it gets:
{"error": {"code": "unauthorized",
"message": "Missing or invalid API key. Expected: Bearer <id>.<secret>."}}
If a key leaks into a paste or a repository, revoking it takes one click and works right away.
Revoking ends the key but not what the key set up. A webhook registered through the API with that key (a Make scenario's Watch records registers one) belongs to the database, not the key, so it keeps sending until someone switches it off or deletes it on the database's Webhooks tab. To retire an integration, revoke its key and then remove its webhook there.
600 requests a minute
Each key gets 600 requests per minute, counted in a sliding window and charged only after the secret is verified. Someone sending your key id with wrong secrets can't use up your budget. Request 601 inside the window gets:
HTTP/1.1 429 Too Many Requests
retry-after: 3
{"error":{"code":"rate_limited","message":"Too many requests. Retry in about 3s."}}
We captured that response by sending 600 requests and then one more.
Retry-After is the number of whole seconds until the oldest counted request
leaves the window. Wait that long and retry, and the retry succeeds. Each key
has its own budget, which is one more reason to give each integration its own
key. The other caps are in errors and limits.
The API in five minutes goes from a new key to your first writes, and the full reference is at /docs/api.