The API in five minutes: a key, three curls
Create an API key, then list, create and update records with curl, with the responses each request returned. Every table you make is already an endpoint.
Updated November 2026
The Tabla screen and the API read and write records through the same code, and the grid gets no special rules of its own. So there is no "enable API access" switch and no separate sync step. Every table you make is already an endpoint, serving the same data the screen shows. This guide goes from a new key to listing, creating and updating records in a table.
The examples use a demo database for a Cairo plant shop, with a Plants
table (tbl_jukzu86nxtcj).
Create a key
- Open the account menu (your avatar, top right) and choose API keys…
- Name the key for the thing that will hold it ("Invoice script", "Make") and press Create.
- Press Copy key. The value is shown only once, when the key is created. After you close this dialog it can't be shown again, only replaced.
Send the key in a header on every request:
Authorization: Bearer key_xxxx.your-secret
API keys explains the two halves of that value and where a key must never go.
List records
curl "https://tabladb.com/api/tables/tbl_jukzu86nxtcj/records?fields=Name,Price&page_size=3" \
-H "Authorization: Bearer key_xxxx.your-secret"
{
"records": [
{ "id": "rec_y4crk8w9hc3e",
"created_at": "2026-08-09T22:18:11.426Z",
"updated_at": "2026-08-09T23:00:54.516Z",
"fields": { "Name": "Monstera deliciosa", "Price": 45 } },
{ "id": "rec_y45z2yssdq4i",
"created_at": "2026-08-09T22:18:11.426Z",
"updated_at": "2026-08-09T22:18:13.308Z",
"fields": { "Name": "Snake plant", "Price": 28 } },
{ "id": "rec_rkuhigwbfbq9",
"created_at": "2026-08-09T22:18:11.426Z",
"updated_at": "2026-08-09T22:18:13.308Z",
"fields": { "Name": "Golden barrel cactus", "Price": 22 } }
],
"bookmark": "eyJ2IjpbXSwicyI6MywiZiI6W119",
"field_ids": { "Name": "fld_rume7j84a473", "Price": "fld_t8y7aqpv8ykt" }
}
Three things in that response are worth a look. fields= narrowed it to two fields.
bookmark means there are more records, and you pass it back to get the next
page (pagination). And field_ids maps every field
name to its stable id, which you'll want the day someone renames a field
(names and ids). Filtering, sorting and search use
the same endpoint (filtering).
Create a record
Cells are keyed by field name, and select values are written by choice name.
curl -X POST "https://tabladb.com/api/tables/tbl_jukzu86nxtcj/records" \
-H "Authorization: Bearer key_xxxx.your-secret" \
-H "Content-Type: application/json" \
-d '{"records":[{"fields":{"Name":"Fiddle-leaf fig","Price":55,"Light":"Bright indirect","In stock":7}}]}'
{
"records": [
{ "id": "rec_utf767j36rpj",
"created_at": "2026-08-09T23:03:51.631Z",
"updated_at": "2026-08-09T23:03:51.631Z",
"fields": { "Name": "Fiddle-leaf fig", "Price": 55,
"Light": "Bright indirect", "In stock": 7,
"Photo": [], "Tags": null, "Care notes": null } }
]
}
(The response is trimmed here. A created record comes back with every field,
the empty ones as null or [].) One call can carry up to 100 records, and a
batch is all-or-nothing, so if one record is bad, nothing is written
(writing records).
Update it
Use the same endpoint with PATCH and the record's id:
curl -X PATCH "https://tabladb.com/api/tables/tbl_jukzu86nxtcj/records" \
-H "Authorization: Bearer key_xxxx.your-secret" \
-H "Content-Type: application/json" \
-d '{"records":[{"id":"rec_utf767j36rpj","fields":{"In stock":6}}]}'
The response is the full record again, now with "In stock": 6 and a new
updated_at. Only the fields you send change, and the others keep their
values. The edit takes effect everywhere as soon as it's saved: in the grid,
in every view, and for any webhook watching the table.
What else the API covers
The same API handles fields and views, linked records, attachments, the trash, webhooks, members, import and export of a whole database, for reading and writing, with the same envelope and the same key. The full reference is at /docs/api, and /openapi.json is a machine-readable version if you want to point a code generator at it. Each key can make 600 requests a minute. The other numbers are in errors and limits.