Softr API overview
Start with the Softr API: base URL, the resources you can reach, your first request, the response format, pagination, and field names versus field IDs.
The Softr API is a REST API for your Softr Databases and your app users. It sends and receives JSON over HTTPS. Use it when your own code, such as a backend or a nightly sync, must read or write your data.
To import the API into a tool such as Postman, or to generate a client, download the OpenAPI specification. To compare the API with the Softr MCP server and the Softr CLI, see which one to use.
What the API covers
The API is split in three parts. Each one has its own base URL.
| Part | Base URL | What it reaches |
|---|---|---|
| Database API | https://tables-api.softr.io/api/v1 | Databases, tables, table views (read only), fields and records |
| App users API | https://studio-api.softr.io/v1/api | The end users of one published app. Needs a Softr-Domain header |
| Audit logs API | https://studio-api.softr.io/v1/api | The activity of a workspace. Enterprise plan, workspace owners |
This page covers the Database API. For the other two, see App users endpoints and Audit logs. The Applications API and the Workflows API are not available yet.
Authenticate
Send a Personal Access Token in the Softr-Api-Key header of every request. A token reaches only the workspaces it is scoped to. Authentication explains how to create one.
Data model
Every resource has an ID. You need the IDs of the parent resources to build a URL.
| Resource | What it is | Path |
|---|---|---|
| Database | A container that belongs to a workspace. It holds one or more tables | /databases/{databaseId} |
| Table | A collection of records. It has fields and views | /databases/{databaseId}/tables/{tableId} |
| Field | A column definition with a type such as SINGLE_LINE_TEXT, NUMBER or SELECT. Computed and system fields are read only | .../tables/{tableId}/fields/{fieldId} |
| Record | A row. It holds its values in a fields object | .../tables/{tableId}/records/{recordId} |
A table also returns its primaryFieldId and its defaultViewId. A record returns id, tableId, fields, createdAt and updatedAt.
Each resource has endpoints to list, get, create, update and delete it. Records also have a search endpoint. See the Databases, Tables, Fields and Records references.
Send your first request
List your databases
Copy a database id from the response.
curl -X GET 'https://tables-api.softr.io/api/v1/databases' \
-H 'Softr-Api-Key: <your-token>'List the tables
List the tables of that database to get a table id. The response also lists the table’s fields with their IDs.
curl -X GET 'https://tables-api.softr.io/api/v1/databases/{databaseId}/tables' \
-H 'Softr-Api-Key: <your-token>'Read records
Read 10 records of the table, with field names as keys.
curl -X GET 'https://tables-api.softr.io/api/v1/databases/{databaseId}/tables/{tableId}/records?limit=10&fieldNames=true' \
-H 'Softr-Api-Key: <your-token>'Create a record
Create a record. The keys of fields are field IDs.
curl -X POST 'https://tables-api.softr.io/api/v1/databases/{databaseId}/tables/{tableId}/records' \
-H 'Softr-Api-Key: <your-token>' \
-H 'Content-Type: application/json' \
-d '{
"fields": {
"<name field ID>": "Maria Stone",
"<email field ID>": "maria@acme.example"
}
}'Response format
A single item comes back in data, and metadata is null:
{
"data": {
"id": "<record ID>",
"tableId": "<table ID>",
"fields": { "<field ID>": "Maria Stone" },
"createdAt": "2026-11-01T09:30:00Z",
"updatedAt": "2026-11-01T09:30:00Z"
},
"metadata": null
}A paginated list of records comes back with its paging details in metadata:
{
"data": [ ... ],
"metadata": {
"offset": 0,
"limit": 20,
"total": 100
}
}The database and table lists take no paging parameters. For the error format and the error codes, see Errors and rate limits.
Pagination
Record lists use offset pagination. This applies to GET .../records through query parameters, and to POST .../records/search through a paging object in the body.
| Parameter | Default | Max | What it does |
|---|---|---|---|
offset | 0 | None | Number of records to skip |
limit | 20 | 200 | Number of records per page |
The response metadata includes the total count. To read every record, move the offset forward by the limit each time:
GET .../records?offset=0&limit=100 returns records 1 to 100
GET .../records?offset=100&limit=100 returns records 101 to 200
GET .../records?offset=200&limit=100 returns records 201 to 300Stop when offset + limit reaches metadata.total. A limit above 200 is lowered to 200.
The audit logs endpoint pages differently, with a cursor. See its page.
Field names and field IDs
Record responses use field IDs as keys by default. Add fieldNames=true to a record endpoint to get field names instead:
GET .../records
{ "fields": { "<field ID>": "Maria Stone" } }
GET .../records?fieldNames=true
{ "fields": { "Full Name": "Maria Stone" } }fieldNames changes the response only. The fields of a create or update request, and the field references of a search (leftSide, sortingField), always take field IDs. A field name there fails with Unknown field.